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

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

AndroidManifest.xml43 lines · 2.0 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <!-- TV lobby: TCP accept + mDNS advertise/register for the phone controllers. -->
5 <uses-permission android:name="android.permission.INTERNET" />
6 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
7 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
8 <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />
9
10 <!-- TV launcher presence: leanback declares this a TV app, touchscreen is
11 optional (D-pad + phones-as-controllers are the inputs). Mirrors cast/tv. -->
12 <uses-feature
13 android:name="android.software.leanback"
14 android:required="true" />
15 <uses-feature
16 android:name="android.hardware.touchscreen"
17 android:required="false" />
18
19 <application
20 android:allowBackup="true"
21 android:backupAgent=".platform.AppBackupAgent"
22 android:banner="@drawable/banner"
23 android:dataExtractionRules="@xml/data_extraction_rules"
24 android:icon="@mipmap/ic_launcher"
25 android:label="@string/app_name"
26 android:roundIcon="@mipmap/ic_launcher"
27 android:supportsRtl="true"
28 android:theme="@style/Theme.General">
29 <activity
30 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
31 android:name=".MainActivity"
32 android:exported="true"
33 android:theme="@style/Theme.General">
34 <intent-filter>
35 <action android:name="android.intent.action.MAIN" />
36 <category android:name="android.intent.category.LAUNCHER" />
37 <!-- TV launcher row: without this the app is invisible on Google TV. -->
38 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
39 </intent-filter>
40 </activity>
41 </application>
42
43</manifest>