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

Modern-Apps.git / games / kart / src / main / AndroidManifest.xml

AndroidManifest.xml48 lines · 2.3 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <!-- LAN lobby: TCP accept + mDNS advertise/register so other phones can join a race. -->
5 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
6 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
7 <!-- Sensors permission at install instead of auto-granting it. -->
8 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
9
10 <uses-permission android:name="android.permission.INTERNET" />
11 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
12 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
13 <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />
14 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
15
16 <!-- Phone target: the on-screen touch controls are the primary input, so a
17 touchscreen is required. -->
18 <uses-feature
19 android:name="android.hardware.touchscreen"
20 android:required="true" />
21 <!-- Wifi is only inspected (ACCESS_WIFI_STATE), not required: a phone on
22 mobile data or a local hotspot must stay installable. -->
23 <uses-feature
24 android:name="android.hardware.wifi"
25 android:required="false" />
26
27 <application
28 android:allowBackup="true"
29 android:backupAgent=".platform.AppBackupAgent"
30 android:dataExtractionRules="@xml/data_extraction_rules"
31 android:icon="@mipmap/ic_launcher"
32 android:label="@string/app_name"
33 android:roundIcon="@mipmap/ic_launcher"
34 android:supportsRtl="true"
35 android:theme="@style/Theme.General">
36 <activity
37 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
38 android:name=".MainActivity"
39 android:exported="true"
40 android:theme="@style/Theme.General">
41 <intent-filter>
42 <action android:name="android.intent.action.MAIN" />
43 <category android:name="android.intent.category.LAUNCHER" />
44 </intent-filter>
45 </activity>
46 </application>
47
48</manifest>