-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
AndroidManifest.xml
88 lines (79 loc) · 3.82 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="app.grapheneos.gmscompat"
android:versionCode="1008"
android:versionName="1"
>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- needed to be able to create TempServiceBinding to any package-->
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<uses-permission android:name="app.grapheneos.logviewer.SHOW_ERROR_REPORT" />
<uses-permission android:name="com.android.permissioncontroller.permission.LAUNCH_GMSCOMPAT_ACTIVITIES" />
<permission
android:name="app.grapheneos.gmscompat.SHOW_UI"
android:protectionLevel="signature|privileged" />
<permission
android:name="${applicationId}.SIGNATURE_PROTECTED_PERMISSION"
android:protectionLevel="signature" />
<uses-permission android:name="${applicationId}.SIGNATURE_PROTECTED_PERMISSION" />
<!-- These permissions are normally declared in GSF and GmsCore. They were moved here because
of an issue with permissions that have "normal" protectionLevel. If the app that declares a
"normal" permission is installed after an app that requests that permission, the permission will
not be granted. GmsCompat app is a preinstalled app, it's always present. -->
<permission
android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"
android:protectionLevel="normal" />
<permission
android:name="com.google.android.c2dm.permission.RECEIVE"
android:protectionLevel="normal" />
<!-- This permission is declared in GSF on regular Android. It was moved to GmsCompat app to
avoid the need to install GSF, which misbehaves on SDK 35+ due to signature mismatch between
itself and GmsCore (GSF and GmsCore use a sharedUid on regular Android) -->
<permission
android:name="com.google.android.c2dm.permission.SEND"
android:knownCerts="@array/gmscore_known_signers"
android:protectionLevel="internal|knownSigner" />
<application
android:name=".App"
android:label="@string/app_name"
android:forceQueryable="true"
tools:ignore="AllowBackup,MissingApplicationIcon"
>
<service
android:name=".PersistentFgService"
android:exported="false"
android:directBootAware="true"
android:foregroundServiceType="specialUse"
/>
<provider
android:name=".RpcProvider"
android:authorities="${applicationId}.RpcProvider"
android:exported="true"
android:directBootAware="true"
tools:ignore="ExportedContentProvider"
/>
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleInstance"
android:theme="@style/Theme.SubSettingsBase"
android:permission="app.grapheneos.gmscompat.SHOW_UI"
android:label="@string/activity_name"
>
<intent-filter>
<action android:name="${applicationId}.SETTINGS_LINK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
<queries>
<package android:name="com.google.android.play.games" />
<package android:name="app.grapheneos.gmscompat.config" />
<package android:name="app.grapheneos.gmscompat.config.dev" />
<package android:name="app.grapheneos.apps" />
<package android:name="com.google.android.tts" />
</queries>
</manifest>