blob: 241b25a1d3eb392eb88cceff9bd1153e45056a62 [file] [log] [blame]
Adnan Begovic37fc76f2015-05-05 17:37:05 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright 2015, CyanogenMod Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Matt Garnesa4581222015-09-03 12:16:30 -070020 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Adnan Begovic37c4b962015-05-13 04:48:42 -070021 package="cyanogenmod.platform"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070022 coreApp="true" android:sharedUserId="android.uid.system"
23 android:sharedUserLabel="@string/cyanogenmod_system_label">
24
Roman Birg6ad52632016-02-16 19:03:29 -080025 <protected-broadcast android:name="cyanogenmod.intent.action.SCREEN_CAMERA_GESTURE" />
Roman Birge3c96682016-02-24 08:58:39 -080026 <protected-broadcast android:name="cyanogenmod.intent.action.INITIALIZE_CM_HARDWARE" />
Roman Birg705716f2016-07-06 13:32:16 -070027 <protected-broadcast android:name="cyanogenmod.intent.action.ACTION_AUDIO_SESSIONS_CHANGED"
28 android:permission="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS" />
Steve Kondikc27e31f2016-10-10 01:35:59 -070029 <protected-broadcast android:name="cyanogenmod.platform.intent.action.PROFILE_SELECTED" />
Steve Kondikad90c582016-09-13 04:41:15 -070030 <protected-broadcast android:name="com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED" />
Roman Birg6ad52632016-02-16 19:03:29 -080031
Steve Kondik38054192016-10-14 21:24:54 -070032 <protected-broadcast android:name="cyanogenmod.intent.action.UPDATE_PREFERENCE" />
33 <protected-broadcast android:name="cyanogenmod.intent.action.REFRESH_PREFERENCE" />
Steve Kondikc27e31f2016-10-10 01:35:59 -070034
Gabriele M117d2422017-04-15 14:07:18 +020035 <protected-broadcast android:name="cyanogenmod.platform.intent.action.PROFILE_UPDATED" />
36 <protected-broadcast android:name="cyanogenmod.platform.intent.action.INTENT_ACTION_PROFILE_TRIGGER_STATE_CHANGED" />
37
Matthias Yzusquib5e2ea32017-05-25 16:31:14 +020038 <protected-broadcast android:name="cyanogenmod.platform.intent.action.UPDATE_TWILIGHT_STATE" />
39
Adnan Begovic37fc76f2015-05-05 17:37:05 -070040 <!-- Must be required by an, to ensure that only the system can bind to it.
41 @hide -->
42 <permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
43 android:label="@string/permlab_bindCustomTileListenerService"
44 android:description="@string/permdesc_bindCustomTileListenerService"
45 android:protectionLevel="signature" />
46
47 <!-- Allows a 3rd party application to publish or unpublish a quick settings tile -->
48 <permission android:name="cyanogenmod.permission.PUBLISH_CUSTOM_TILE"
49 android:label="@string/permlab_publishCustomTile"
50 android:description="@string/permdesc_publishCustomTile"
Adnan Begovic4e081ae2015-06-23 19:24:18 -070051 android:icon="@drawable/ic_launcher_cyanogenmod"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070052 android:protectionLevel="normal" />
53
Matt Garnes9e69abb2015-10-14 13:27:08 -070054 <!-- Allows an app to make changes to the airplane mode and mobile data network settings -->
Matt Garnes0cdb1d52015-07-14 16:29:56 -070055 <permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
56 android:label="@string/permlab_modifyNetworkSettings"
57 android:description="@string/permdesc_modifyNetworkSettings"
58 android:icon="@drawable/ic_launcher_cyanogenmod"
Steve Kondikfe3b9f02016-09-04 04:19:45 -070059 androidprv:allowViaWhitelist="true"
Danesh Mb56f3462015-11-04 14:26:55 -080060 android:protectionLevel="signature|privileged" />
Matt Garnes0cdb1d52015-07-14 16:29:56 -070061
Matt Garnes9e69abb2015-10-14 13:27:08 -070062 <!-- Allows an app to make changes to the interruption mode sound settings -->
Matt Garnes51c39ba2015-07-29 17:19:03 -070063 <permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
64 android:label="@string/permlab_modifySoundSettings"
65 android:description="@string/permdesc_modifySoundSettings"
66 android:icon="@drawable/ic_launcher_cyanogenmod"
67 android:protectionLevel="normal" />
68
Joao Figueiredo7f503352015-08-06 23:59:02 +010069 <!-- Allows a 3rd party to view the phone SIM states and data connection -->
70 <permission android:name="cyanogenmod.permission.READ_MSIM_PHONE_STATE"
71 android:label="@string/permlab_readMSPhoneState"
72 android:description="@string/permdesc_readMSPhoneState"
73 android:icon="@drawable/ic_launcher_cyanogenmod"
74 android:protectionLevel="normal" />
75
76 <!-- Allows a 3rd party to modify the phone SIM states and data connection -->
77 <permission android:name="cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"
78 android:label="@string/permlab_modifyMSPhoneState"
79 android:description="@string/permdesc_modifyMSPhoneState"
80 android:icon="@drawable/ic_launcher_cyanogenmod"
81 android:protectionLevel="normal" />
82
Adnan Begovicbc2ea6b2015-09-01 18:00:39 -070083 <!-- Allows an application access to the CM hardware abstraction framework
84 <p>Not for use by third-party applications. -->
Steve Kondik5ee87cb2015-08-16 22:33:30 -070085 <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"
86 android:label="@string/permlab_useHardwareFramework"
87 android:description="@string/permdesc_useHardwareFramework"
Danesh Mb56f3462015-11-04 14:26:55 -080088 android:protectionLevel="signature|privileged" />
Steve Kondik5ee87cb2015-08-16 22:33:30 -070089
Yvonne Wong0eb29992015-08-20 16:02:08 -070090 <!-- Allows an application to write to CM system settings -->
91 <permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
92 android:label="@string/permlab_writeSettings"
93 android:description="@string/permdesc_writeSettings"
94 android:protectionLevel="normal" />
95
Adnan Begovic05239112015-09-01 15:09:46 -070096 <!-- Allows an application to modify system profiles -->
97 <permission android:name="cyanogenmod.permission.MODIFY_PROFILES"
98 android:label="@string/permlab_modifyProfiles"
99 android:description="@string/permdesc_modifyProfiles"
100 android:protectionLevel="normal" />
101
Yvonne Wong0eb29992015-08-20 16:02:08 -0700102 <!-- Allows an application to write to secure CM system settings.
103 <p>Not for use by third-party applications. -->
104 <permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
105 android:label="@string/permlab_writeSecureSettings"
106 android:description="@string/permdesc_writeSecureSettings"
Danesh Mb56f3462015-11-04 14:26:55 -0800107 android:protectionLevel="signature|privileged|development" />
Yvonne Wong0eb29992015-08-20 16:02:08 -0700108
Adnan Begovic7f177042015-09-01 17:04:27 -0700109 <!-- Allows an application to write alarms to the default alarm clock application
110 <p>Not for use by third-party applications. -->
111 <permission android:name="cyanogenmod.permission.WRITE_ALARMS"
112 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
Danesh Mb56f3462015-11-04 14:26:55 -0800113 android:protectionLevel="signature|privileged"
Adnan Begovic7f177042015-09-01 17:04:27 -0700114 android:label="@string/permlab_write_alarms"
115 android:description="@string/permdesc_write_alarms"/>
116
117 <!-- Allows an application to manage alarms on the default alarm clock application -->
118 <permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
119 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
120 android:protectionLevel="normal"
121 android:label="@string/permlab_manage_alarms"
122 android:description="@string/permdesc_manage_alarms"/>
123
124 <!-- Allows an application to read alarms from the default alarm clock application -->
125 <permission android:name="cyanogenmod.permission.READ_ALARMS"
126 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
127 android:protectionLevel="normal"
128 android:label="@string/permlab_read_alarms"
129 android:description="@string/permdesc_read_alarms"/>
130
Steve Kondik7cef6f62015-08-31 18:43:51 -0700131 <!-- Allows an application to access persistent property storage
132 <p>Not for use by third-party applications. -->
133 <permission android:name="cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"
134 android:label="@string/permlab_managePersistentStorage"
135 android:description="@string/permdesc_managePersistentStorage"
Danesh Mb56f3462015-11-04 14:26:55 -0800136 android:protectionLevel="signature|privileged" />
Steve Kondik7cef6f62015-08-31 18:43:51 -0700137
herriojre78ca4d2015-09-08 13:59:20 -0700138 <!-- Permission for accessing a provider of app suggestions
Adnan Begovic3c456652015-09-14 17:39:51 -0700139 <p>Not for use by third-party applications. -->
herriojre78ca4d2015-09-08 13:59:20 -0700140 <permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"
141 android:label="@string/permlab_accessAppSuggestions"
142 android:description="@string/permdesc_accessAppSuggestions"
Danesh Mb56f3462015-11-04 14:26:55 -0800143 android:protectionLevel="signature|privileged|development" />
herriojre78ca4d2015-09-08 13:59:20 -0700144
Vineet Patil35fdbda2015-11-23 16:59:26 -0800145 <!-- Permission for adding/removing applications to protected apps
146 <p>Not for use by third-party applications. -->
147 <permission
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800148 android:name="cyanogenmod.permission.PROTECTED_APP"
149 android:label="@string/permlab_protectedApp"
150 android:description="@string/permdesc_protectedApp"
151 android:protectionLevel="signature|privileged" />
Vineet Patil35fdbda2015-11-23 16:59:26 -0800152
d34d9691d422015-12-09 10:43:41 -0800153 <!-- Allows an application to be used as a third party keyguard -->
d34d10da08a2016-01-25 09:44:14 -0800154 <permission android:name="cyanogenmod.permission.THIRD_PARTY_KEYGUARD"
d34d9691d422015-12-09 10:43:41 -0800155 android:label="@string/permlab_thirdPartyKeyguard"
156 android:description="@string/permdesc_thirdPartyKeyguard"
d34df4990092016-01-20 16:51:54 -0800157 android:protectionLevel="normal" />
d34d9691d422015-12-09 10:43:41 -0800158
d34db3ea2852016-02-23 09:58:53 -0800159 <!-- Allows an application to use ThemeManager -->
160 <permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800161 android:label="@string/permlab_accessThemeService"
162 android:description="@string/permdesc_accessThemeService"
163 android:protectionLevel="normal" />
d34db3ea2852016-02-23 09:58:53 -0800164
165 <!-- Allows an application to read the current theme configuration and
166 get information about the various themes currently installed -->
167 <permission android:name="cyanogenmod.permission.READ_THEMES"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800168 android:label="@string/permlab_readThemes"
169 android:description="@string/permdesc_readThemesDesc"
170 android:protectionLevel="normal" />
d34db3ea2852016-02-23 09:58:53 -0800171
172 <!-- Allows an application to write the current theme configuration and
173 write information about the various themes currently installed.
174 Changing themes should be done through the service ACCESS_THEME_MANAGER -->
175 <permission android:name="cyanogenmod.permission.WRITE_THEMES"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800176 android:label="@string/permlab_writeThemes"
177 android:description="@string/permdesc_writeThemesDesc"
178 android:protectionLevel="normal" />
179
180 <!-- Allows low-level access to performance management.
181 <p>Not for use by third-party applications. -->
182 <permission android:name="cyanogenmod.permission.PERFORMANCE_ACCESS"
183 android:label="@string/permlab_perfAccess"
184 android:description="@string/permdesc_perfAccessDesc"
185 android:protectionLevel="signature|privileged" />
d34db3ea2852016-02-23 09:58:53 -0800186
d34dbfa500d2016-03-08 09:14:34 -0800187 <!-- Allows an application to access the live lock screen manager. -->
188 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"
189 android:label="@string/permlab_accessLiveLockScreenService"
190 android:description="@string/permdesc_accessLiveLockScreenService"
191 android:protectionLevel="dangerous" />
192
193 <!-- Allows system apps privileged access to the live lock screen manager.
194 @hide -->
195 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE"
196 android:label="@string/permlab_accessLiveLockScreenServicePrivate"
197 android:description="@string/permdesc_accessLiveLockScreenServicePrivate"
Steve Kondikfe3b9f02016-09-04 04:19:45 -0700198 android:protectionLevel="signature|privileged"
199 androidprv:allowViaWhitelist="true" />
d34dbfa500d2016-03-08 09:14:34 -0800200
201 <!-- Permission required to be held for a service that provides a LiveLockScreenManagerService
202 @hide -->
203 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_PROVIDER"
204 android:label="@string/permlab_accessLiveLockScreenServiceProvider"
205 android:description="@string/permdesc_accessLiveLockScreenServiceProvider"
206 android:protectionLevel="signature|privileged" />
207
Luis Vidal4195a1c2016-03-21 11:56:40 -0700208 <!-- Allows an application to read the weather content from the provider-->
209 <permission android:name="cyanogenmod.permission.READ_WEATHER"
210 android:label="@string/permlab_weather_read"
211 android:description="@string/permdesc_weather_read"
212 android:protectionLevel="normal"/>
213
214 <!-- Allows an application to update the content of the weather provider
215 <p>Not for use by third-party applications. -->
216 <permission android:name="cyanogenmod.permission.WRITE_WEATHER"
217 android:label="@string/permlab_weather_write"
218 android:description="@string/permdesc_weather_write"
219 android:protectionLevel="signature|privileged" />
220
221 <!-- Allows an application to be identified as a weather provider service -->
222 <permission android:name="cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"
223 android:label="@string/permlab_weather_bind"
224 android:description="@string/permdesc_weather_bind"
Luis Vidalc4871912016-07-15 20:48:45 -0700225 android:protectionLevel="signature|privileged"/>
Luis Vidal4195a1c2016-03-21 11:56:40 -0700226
Steve Kondikbf3c0cf2016-04-23 00:57:07 -0700227 <!-- Allows an application to observe system-wide changes to audio sessions
228 @hide -->
229 <permission android:name="cyanogenmod.permission.OBSERVE_AUDIO_SESSIONS"
230 android:label="@string/permlab_observe_audio_sessions"
231 android:description="@string/permdesc_observe_audio_sessions"
232 android:protectionLevel="normal"/>
233
Roman Birg705716f2016-07-06 13:32:16 -0700234 <!-- Allows an application to post system-wide changes to audio sessions
235 @hide -->
236 <permission android:name="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS"
237 android:label="@string/permlab_manage_audio_sessions"
238 android:description="@string/permdesc_manage_audio_sessions"
Steve Kondikfe3b9f02016-09-04 04:19:45 -0700239 android:protectionLevel="signature|privileged"
240 androidprv:allowViaWhitelist="true" />
Roman Birg705716f2016-07-06 13:32:16 -0700241
Luis Vidal4195a1c2016-03-21 11:56:40 -0700242 <!-- Allows an application to access the weather service.
243 <p>Although the protection is normal, this permission should be required ONLY by those apps
244 meant to do something meaningful with the data provided by the service (LockClock, SysUI)-->
245 <permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER"
246 android:label="@string/permlab_weather_access_mgr"
247 android:description="@string/permdesc_weather_access_mgr"
248 android:protectionLevel="normal"/>
249
Steve Kondik1dab5a02016-03-31 11:23:36 -0700250 <!-- Allows an application to manage LiveDisplay -->
251 <permission android:name="cyanogenmod.permission.MANAGE_LIVEDISPLAY"
252 android:label="@string/permlab_manageLiveDisplay"
253 android:description="@string/permdesc_manageLiveDisplay"
254 android:icon="@drawable/ic_launcher_cyanogenmod"
255 android:protectionLevel="normal" />
256
Adnan Begovicb62a4552016-06-21 13:55:18 -0700257 <!-- Not meant for third parties. Allows brokering core services to other
258 processes @hide -->
259 <permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE"
260 android:protectionLevel="signature|privileged" />
261
d34dc4ed8c82016-07-15 09:56:19 -0700262 <!-- Not meant for third parties.
263 @hide -->
264 <permission android:name="cyanogenmod.permission.SEND_PROTECTED_THEME_BROADCAST"
265 android:protectionLevel="signature|privileged" />
266
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700267 <application android:process="system"
268 android:persistent="true"
269 android:hasCode="false"
270 android:label="@string/cyanogenmod_system_label"
271 android:allowClearUserData="false"
272 android:killAfterRestore="false"
273 android:supportsRtl="true"/>
274
gkipnis1ee5f202016-02-11 15:36:08 -0800275 <!-- Permission for reading the DataUsage database -->
276 <permission android:name="cyanogenmod.permission.READ_DATAUSAGE"
277 android:label="@string/permlab_dataUsageRead"
278 android:description="@string/permdesc_dataUsageRead"
279 android:protectionLevel="signature|privileged" />
280
281 <!-- Permission for writing the DataUsage database -->
282 <permission android:name="cyanogenmod.permission.WRITE_DATAUSAGE"
283 android:label="@string/permlab_dataUsageWrite"
284 android:description="@string/permdesc_dataUsageWrite"
285 android:protectionLevel="signature|privileged" />
286
Steve Kondik38054192016-10-14 21:24:54 -0700287 <!-- Permission for managing remote preferences -->
288 <permission android:name="cyanogenmod.permission.MANAGE_REMOTE_PREFERENCES"
289 android:label="@string/permlab_manageRemotePrefs"
290 android:description="@string/permdesc_manageRemotePrefs"
Steve Kondikc27e31f2016-10-10 01:35:59 -0700291 android:protectionLevel="signature|privileged" />
292
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700293</manifest>