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

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

AndroidManifest.xml93 lines · 4.4 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <permission
5 android:name="com.vayunmathur.games.hub.permission.READ_GAME_DATA"
6 android:protectionLevel="signature" />
7 <permission
8 android:name="com.vayunmathur.games.hub.permission.WRITE_GAME_DATA"
9 android:protectionLevel="signature" />
10
11 <!-- "Play on TV": TCP control + mDNS discovery for the phone-as-controller session. -->
12 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
13 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
14 <!-- Sensors permission at install instead of auto-granting it. -->
15 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
16
17 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
18 <uses-permission android:name="android.permission.INTERNET" />
19 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
20 <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />
21 <uses-permission android:name="android.permission.VIBRATE" />
22
23 <queries>
24 <package android:name="com.vayunmathur.games.chess" />
25 <package android:name="com.vayunmathur.games.pipes" />
26 <package android:name="com.vayunmathur.games.solitaire" />
27 <package android:name="com.vayunmathur.games.unblockjam" />
28 <package android:name="com.vayunmathur.games.wordmaker" />
29 <package android:name="com.vayunmathur.games.logicgate" />
30 <package android:name="com.vayunmathur.games.voxels" />
31 <package android:name="com.vayunmathur.games.sudoku" />
32 <package android:name="com.vayunmathur.games.minesweeper" />
33 <package android:name="com.vayunmathur.games.nonogram" />
34 <package android:name="com.vayunmathur.games.arrows" />
35 <package android:name="com.vayunmathur.games.kart" />
36 <package android:name="com.vayunmathur.games" />
37 <!-- Install fallback for a missing game: its listing in the Modern Apps store, or any
38 store handling market:// links (GameLauncher resolves these before starting). -->
39 <package android:name="com.vayunmathur.appstore" />
40 <intent>
41 <action android:name="android.intent.action.VIEW" />
42 <data android:scheme="market" />
43 </intent>
44 <intent>
45 <action android:name="android.intent.action.MAIN" />
46 </intent>
47 </queries>
48
49 <application
50 android:allowBackup="true"
51 android:backupAgent=".platform.AppBackupAgent"
52 android:dataExtractionRules="@xml/data_extraction_rules"
53 android:icon="@mipmap/ic_launcher"
54 android:label="@string/app_name"
55 android:roundIcon="@mipmap/ic_launcher"
56 android:supportsRtl="true"
57 android:theme="@style/Theme.General">
58
59 <activity
60 android:name=".MainActivity"
61 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
62 android:exported="true"
63 android:theme="@style/Theme.General">
64 <intent-filter>
65 <action android:name="android.intent.action.MAIN" />
66 <category android:name="android.intent.category.LAUNCHER" />
67 </intent-filter>
68 </activity>
69
70 <activity
71 android:name=".intents.AchievementsSummaryIntent"
72 android:exported="true"
73 android:theme="@android:style/Theme.NoDisplay"
74 android:permission="com.vayunmathur.games.hub.permission.READ_GAME_DATA">
75 </activity>
76
77 <provider
78 android:name=".provider.GamesHubProvider"
79 android:authorities="com.vayunmathur.games.hub.provider"
80 android:exported="true"
81 android:readPermission="com.vayunmathur.games.hub.permission.READ_GAME_DATA"
82 android:writePermission="com.vayunmathur.games.hub.permission.WRITE_GAME_DATA" />
83
84 <provider
85 android:name=".provider.GamesHubLegacyProvider"
86 android:authorities="com.vayunmathur.games.provider"
87 android:exported="true"
88 android:readPermission="com.vayunmathur.games.hub.permission.READ_GAME_DATA"
89 android:writePermission="com.vayunmathur.games.hub.permission.WRITE_GAME_DATA" />
90
91 </application>
92
93</manifest>