Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / cast / tv / src / main / AndroidManifest.xml
AndroidManifest.xml59 lines · 2.7 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | |
| 4 | <uses-permission android:name="android.permission.INTERNET" /> |
| 5 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 6 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 7 | <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" /> |
| 8 | |
| 9 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 10 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> |
| 11 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 12 | <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> |
| 13 | |
| 14 | <uses-feature |
| 15 | android:name="android.software.leanback" |
| 16 | android:required="true" /> |
| 17 | <uses-feature |
| 18 | android:name="android.hardware.touchscreen" |
| 19 | android:required="false" /> |
| 20 | <uses-feature |
| 21 | android:name="android.hardware.wifi" |
| 22 | android:required="false" /> |
| 23 | |
| 24 | <application |
| 25 | android:allowBackup="true" |
| 26 | android:banner="@drawable/banner" |
| 27 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 28 | android:icon="@mipmap/ic_launcher" |
| 29 | android:label="@string/app_name" |
| 30 | android:roundIcon="@mipmap/ic_launcher" |
| 31 | android:supportsRtl="true" |
| 32 | android:theme="@style/Theme.General"> |
| 33 | |
| 34 | <activity |
| 35 | android:name=".MainActivity" |
| 36 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 37 | android:exported="true" |
| 38 | android:launchMode="singleTop" |
| 39 | android:theme="@style/Theme.General"> |
| 40 | <intent-filter> |
| 41 | <action android:name="android.intent.action.MAIN" /> |
| 42 | <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
| 43 | </intent-filter> |
| 44 | </activity> |
| 45 | |
| 46 | <activity |
| 47 | android:name=".platform.MirrorActivity" |
| 48 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 49 | android:excludeFromRecents="true" |
| 50 | android:exported="false" |
| 51 | android:launchMode="singleTop" |
| 52 | android:theme="@style/Theme.General" /> |
| 53 | |
| 54 | <service |
| 55 | android:name=".service.ReceiverService" |
| 56 | android:exported="false" |
| 57 | android:foregroundServiceType="mediaPlayback" /> |
| 58 | </application> |
| 59 | </manifest> |