AndroidManifest.xml 2.98 KB
Newer Older
konghaorui committed
1 2
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
konghaorui committed
3 4
        xmlns:tools="http://schemas.android.com/tools"
        package="com.ydl.component">
konghaorui committed
5

konghaorui committed
6 7 8 9 10 11 12
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
konghaorui committed
13 14

    <application
15
            android:name="com.ydl.ydlcommon.base.BaseApp"
konghaorui committed
16 17 18 19 20
            android:allowBackup="false"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:roundIcon="@mipmap/ic_launcher_round"
            android:supportsRtl="true"
洪国微 committed
21
            android:networkSecurityConfig="@xml/network_config"
konghaorui committed
22
            android:theme="@style/platform_CommonTheme"
konghaorui committed
23 24
            tools:ignore="GoogleAppIndexingWarning"
            tools:replace="android:allowBackup, android:icon, android:label">
konghaorui committed
25
        <activity android:name=".music.FragmentContainerActivity"
konghaorui committed
26 27 28 29 30
                android:theme="@style/platform_NoTitleTheme" />
        <!-- <activity android:name="com.yidianling.user.ui.login.RegisterAndLoginActivity" -->
        <!-- <activity android:name=".MainActivity"/> -->
        <activity
                android:name=".MainActivity"
31
                android:launchMode="singleTask"
konghaorui committed
32
                android:theme="@style/platform_NoTitleTheme">
konghaorui committed
33
            <intent-filter>
konghaorui committed
34 35
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
konghaorui committed
36
            </intent-filter>
37 38 39 40 41

            <intent-filter>
                <action android:name="com.ydl.media.ACTION_MUSIC_CLICK" />
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
konghaorui committed
42 43 44 45
        </activity>

        <meta-data
                android:name="com.ydl.component.base.DemoGlobalConfig"
konghaorui committed
46
                android:value="ModuleConfig" />
konghaorui committed
47

48 49 50 51 52 53 54 55 56 57 58 59 60
        <activity
                android:name="com.tencent.tauth.AuthActivity"
                android:launchMode="singleTask"
                android:noHistory="true">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data android:scheme="tencent1105070461" />
            </intent-filter>
        </activity>
徐健 committed
61 62 63 64 65 66

        <activity
            android:name=".home.HomeActivity"
            android:launchMode="singleTask"
            android:noHistory="true">
        </activity>
konghaorui committed
67 68 69
    </application>

</manifest>