-
-
Notifications
You must be signed in to change notification settings - Fork 642
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
189 lines (174 loc) · 8.12 KB
/
Copy pathAndroidManifest.xml
File metadata and controls
189 lines (174 loc) · 8.12 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- Self explanatory -->
<uses-permission android:name="android.permission.READ_CONTACTS" />
<!-- To call a phone number directly without displaying the dialer -->
<uses-permission android:name="android.permission.CALL_PHONE" />
<!-- To read phone state -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Display notification drawer -->
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<!-- Ability to uninstall an app from KISS -->
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
<!-- Android 11 now makes listing apps a non-default permission
https://developer.android.com/training/basics/intents/package-visibility
-->
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />
<!-- To provide access and state handling of the private space -->
<uses-permission android:name="android.permission.ACCESS_HIDDEN_PROFILES" />
<!-- To set timers -->
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:name="android.hardware.bluetooth"
android:required="false" />
<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<uses-feature
android:name="android.hardware.nfc"
android:required="false" />
<application
android:name=".KissApplication"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning"
android:supportsRtl="true"
android:resizeableActivity="true"
android:localeConfig="@xml/locales_config"
android:dataExtractionRules="@xml/data_extraction_rules"
android:enableOnBackInvokedCallback="true"
android:fullBackupContent="@xml/backup_descriptor">
<!--
clearTaskOnLaunch: when viewing kiss settings, display the main activity when pressing home https://github.com/Neamar/KISS/issues/117
launchMode=singleTop: call onNewIntent() when pressing home again while already viewing main activity, also redisplay main activity when viewing full-screen contact from picture
windowSoftInputMode: hide keyboard by default
stateNotNeeded: rebuild the whole UI each time onResume() is called
-->
<activity
android:name=".MainActivity"
android:clearTaskOnLaunch="true"
android:excludeFromRecents="true"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="user"
android:stateNotNeeded="true"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize"
android:configChanges="uiMode">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ASSIST" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
</intent-filter>
<intent-filter android:label="@string/ui_search_hint">
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<meta-data
android:name="com.android.systemui.action_assist_icon"
android:resource="@mipmap/ic_launcher" />
</activity>
<activity
android:name=".DummyActivity"
android:exported="true"
android:enabled="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".SettingsActivity"
android:label="@string/activity_setting"
android:excludeFromRecents="true"
android:exported="false"
android:theme="@style/SettingTheme"
android:parentActivityName=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".PickAppWidgetActivity"
android:excludeFromRecents="true"
android:exported="false"
android:label="@string/menu_widget_add"
android:parentActivityName=".MainActivity"
android:theme="@style/SettingTheme">
</activity>
<activity
android:name=".kustomsupport.AutoFinishTransparentActivity"
android:theme="@style/Theme.Transparent" />
<provider
android:name=".kustomsupport.Kustom5SecsProvider"
android:authorities="${applicationId}.kustomsupport.kustom5secsprovider"
android:exported="true"
android:grantUriPermissions="true" />
<receiver
android:name=".broadcast.LocaleChangedReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.LOCALE_CHANGED" />
</intent-filter>
</receiver>
<!-- On incoming calls, add user to history -->
<receiver
android:name=".broadcast.IncomingCallHandler"
android:exported="true"
android:enabled="false">
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
<service
android:name=".broadcast.IncomingCallScreeningService"
android:permission="android.permission.BIND_SCREENING_SERVICE"
android:exported="true"
tools:targetApi="24">
<intent-filter>
<action android:name="android.telecom.CallScreeningService" />
</intent-filter>
</service>
<service android:name=".dataprovider.AppProvider" />
<service android:name=".dataprovider.ContactsProvider" />
<service android:name=".dataprovider.ShortcutsProvider" />
<service android:name=".notification.NotificationListener"
android:enabled="true"
android:exported="true"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
<service
android:name=".utils.LockAccessibilityService"
android:exported="true"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
<meta-data
android:name="android.accessibilityservice"
android:resource="@xml/lock_accessibility_service_config" />
</service>
</application>
</manifest>