Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / cast / tv / src / main / AndroidManifest.xml

AndroidManifest.xml64 lines · 3.0 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
5 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
6 <!-- Sensors permission at install instead of auto-granting it. -->
7 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
8
9 <uses-permission android:name="android.permission.INTERNET" />
10 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
11 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
12 <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />
13
14 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
15 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
16 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
17 <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
18
19 <uses-feature
20 android:name="android.software.leanback"
21 android:required="true" />
22 <uses-feature
23 android:name="android.hardware.touchscreen"
24 android:required="false" />
25 <uses-feature
26 android:name="android.hardware.wifi"
27 android:required="false" />
28
29 <application
30 android:allowBackup="true"
31 android:banner="@drawable/banner"
32 android:dataExtractionRules="@xml/data_extraction_rules"
33 android:icon="@mipmap/ic_launcher"
34 android:label="@string/app_name"
35 android:roundIcon="@mipmap/ic_launcher"
36 android:supportsRtl="true"
37 android:theme="@style/Theme.General">
38
39 <activity
40 android:name=".MainActivity"
41 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
42 android:exported="true"
43 android:launchMode="singleTop"
44 android:theme="@style/Theme.General">
45 <intent-filter>
46 <action android:name="android.intent.action.MAIN" />
47 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
48 </intent-filter>
49 </activity>
50
51 <activity
52 android:name=".platform.MirrorActivity"
53 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
54 android:excludeFromRecents="true"
55 android:exported="false"
56 android:launchMode="singleTop"
57 android:theme="@style/Theme.General" />
58
59 <service
60 android:name=".service.ReceiverService"
61 android:exported="false"
62 android:foregroundServiceType="mediaPlayback" />
63 </application>
64</manifest>