blob: 8eee210e21c34fdc97cd60bcdc51ff185ac7afcd [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" />
Roman Birg6ad52632016-02-16 19:03:29 -080029
Adnan Begovic37fc76f2015-05-05 17:37:05 -070030 <!-- Must be required by an, to ensure that only the system can bind to it.
31 @hide -->
32 <permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
33 android:label="@string/permlab_bindCustomTileListenerService"
34 android:description="@string/permdesc_bindCustomTileListenerService"
35 android:protectionLevel="signature" />
36
37 <!-- Allows a 3rd party application to publish or unpublish a quick settings tile -->
38 <permission android:name="cyanogenmod.permission.PUBLISH_CUSTOM_TILE"
39 android:label="@string/permlab_publishCustomTile"
40 android:description="@string/permdesc_publishCustomTile"
Adnan Begovic4e081ae2015-06-23 19:24:18 -070041 android:icon="@drawable/ic_launcher_cyanogenmod"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070042 android:protectionLevel="normal" />
43
Matt Garnes9e69abb2015-10-14 13:27:08 -070044 <!-- Allows an app to make changes to the airplane mode and mobile data network settings -->
Matt Garnes0cdb1d52015-07-14 16:29:56 -070045 <permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
46 android:label="@string/permlab_modifyNetworkSettings"
47 android:description="@string/permdesc_modifyNetworkSettings"
48 android:icon="@drawable/ic_launcher_cyanogenmod"
Steve Kondikfe3b9f02016-09-04 04:19:45 -070049 androidprv:allowViaWhitelist="true"
Danesh Mb56f3462015-11-04 14:26:55 -080050 android:protectionLevel="signature|privileged" />
Matt Garnes0cdb1d52015-07-14 16:29:56 -070051
Matt Garnes9e69abb2015-10-14 13:27:08 -070052 <!-- Allows an app to make changes to the interruption mode sound settings -->
Matt Garnes51c39ba2015-07-29 17:19:03 -070053 <permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
54 android:label="@string/permlab_modifySoundSettings"
55 android:description="@string/permdesc_modifySoundSettings"
56 android:icon="@drawable/ic_launcher_cyanogenmod"
57 android:protectionLevel="normal" />
58
Joao Figueiredo7f503352015-08-06 23:59:02 +010059 <!-- Allows a 3rd party to view the phone SIM states and data connection -->
60 <permission android:name="cyanogenmod.permission.READ_MSIM_PHONE_STATE"
61 android:label="@string/permlab_readMSPhoneState"
62 android:description="@string/permdesc_readMSPhoneState"
63 android:icon="@drawable/ic_launcher_cyanogenmod"
64 android:protectionLevel="normal" />
65
66 <!-- Allows a 3rd party to modify the phone SIM states and data connection -->
67 <permission android:name="cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"
68 android:label="@string/permlab_modifyMSPhoneState"
69 android:description="@string/permdesc_modifyMSPhoneState"
70 android:icon="@drawable/ic_launcher_cyanogenmod"
71 android:protectionLevel="normal" />
72
Adnan Begovicbc2ea6b2015-09-01 18:00:39 -070073 <!-- Allows an application access to the CM hardware abstraction framework
74 <p>Not for use by third-party applications. -->
Steve Kondik5ee87cb2015-08-16 22:33:30 -070075 <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"
76 android:label="@string/permlab_useHardwareFramework"
77 android:description="@string/permdesc_useHardwareFramework"
Danesh Mb56f3462015-11-04 14:26:55 -080078 android:protectionLevel="signature|privileged" />
Steve Kondik5ee87cb2015-08-16 22:33:30 -070079
Yvonne Wong0eb29992015-08-20 16:02:08 -070080 <!-- Allows an application to write to CM system settings -->
81 <permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
82 android:label="@string/permlab_writeSettings"
83 android:description="@string/permdesc_writeSettings"
84 android:protectionLevel="normal" />
85
Adnan Begovic05239112015-09-01 15:09:46 -070086 <!-- Allows an application to modify system profiles -->
87 <permission android:name="cyanogenmod.permission.MODIFY_PROFILES"
88 android:label="@string/permlab_modifyProfiles"
89 android:description="@string/permdesc_modifyProfiles"
90 android:protectionLevel="normal" />
91
Yvonne Wong0eb29992015-08-20 16:02:08 -070092 <!-- Allows an application to write to secure CM system settings.
93 <p>Not for use by third-party applications. -->
94 <permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
95 android:label="@string/permlab_writeSecureSettings"
96 android:description="@string/permdesc_writeSecureSettings"
Danesh Mb56f3462015-11-04 14:26:55 -080097 android:protectionLevel="signature|privileged|development" />
Yvonne Wong0eb29992015-08-20 16:02:08 -070098
Adnan Begovic7f177042015-09-01 17:04:27 -070099 <!-- Allows an application to write alarms to the default alarm clock application
100 <p>Not for use by third-party applications. -->
101 <permission android:name="cyanogenmod.permission.WRITE_ALARMS"
102 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
Danesh Mb56f3462015-11-04 14:26:55 -0800103 android:protectionLevel="signature|privileged"
Adnan Begovic7f177042015-09-01 17:04:27 -0700104 android:label="@string/permlab_write_alarms"
105 android:description="@string/permdesc_write_alarms"/>
106
107 <!-- Allows an application to manage alarms on the default alarm clock application -->
108 <permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
109 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
110 android:protectionLevel="normal"
111 android:label="@string/permlab_manage_alarms"
112 android:description="@string/permdesc_manage_alarms"/>
113
114 <!-- Allows an application to read alarms from the default alarm clock application -->
115 <permission android:name="cyanogenmod.permission.READ_ALARMS"
116 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
117 android:protectionLevel="normal"
118 android:label="@string/permlab_read_alarms"
119 android:description="@string/permdesc_read_alarms"/>
120
Steve Kondik7cef6f62015-08-31 18:43:51 -0700121 <!-- Allows an application to access persistent property storage
122 <p>Not for use by third-party applications. -->
123 <permission android:name="cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"
124 android:label="@string/permlab_managePersistentStorage"
125 android:description="@string/permdesc_managePersistentStorage"
Danesh Mb56f3462015-11-04 14:26:55 -0800126 android:protectionLevel="signature|privileged" />
Steve Kondik7cef6f62015-08-31 18:43:51 -0700127
herriojre78ca4d2015-09-08 13:59:20 -0700128 <!-- Permission for accessing a provider of app suggestions
Adnan Begovic3c456652015-09-14 17:39:51 -0700129 <p>Not for use by third-party applications. -->
herriojre78ca4d2015-09-08 13:59:20 -0700130 <permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"
131 android:label="@string/permlab_accessAppSuggestions"
132 android:description="@string/permdesc_accessAppSuggestions"
Danesh Mb56f3462015-11-04 14:26:55 -0800133 android:protectionLevel="signature|privileged|development" />
herriojre78ca4d2015-09-08 13:59:20 -0700134
Vineet Patil35fdbda2015-11-23 16:59:26 -0800135 <!-- Permission for adding/removing applications to protected apps
136 <p>Not for use by third-party applications. -->
137 <permission
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800138 android:name="cyanogenmod.permission.PROTECTED_APP"
139 android:label="@string/permlab_protectedApp"
140 android:description="@string/permdesc_protectedApp"
141 android:protectionLevel="signature|privileged" />
Vineet Patil35fdbda2015-11-23 16:59:26 -0800142
d34d9691d422015-12-09 10:43:41 -0800143 <!-- Allows an application to be used as a third party keyguard -->
d34d10da08a2016-01-25 09:44:14 -0800144 <permission android:name="cyanogenmod.permission.THIRD_PARTY_KEYGUARD"
d34d9691d422015-12-09 10:43:41 -0800145 android:label="@string/permlab_thirdPartyKeyguard"
146 android:description="@string/permdesc_thirdPartyKeyguard"
d34df4990092016-01-20 16:51:54 -0800147 android:protectionLevel="normal" />
d34d9691d422015-12-09 10:43:41 -0800148
d34db3ea2852016-02-23 09:58:53 -0800149 <!-- Allows an application to use ThemeManager -->
150 <permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800151 android:label="@string/permlab_accessThemeService"
152 android:description="@string/permdesc_accessThemeService"
153 android:protectionLevel="normal" />
d34db3ea2852016-02-23 09:58:53 -0800154
155 <!-- Allows an application to read the current theme configuration and
156 get information about the various themes currently installed -->
157 <permission android:name="cyanogenmod.permission.READ_THEMES"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800158 android:label="@string/permlab_readThemes"
159 android:description="@string/permdesc_readThemesDesc"
160 android:protectionLevel="normal" />
d34db3ea2852016-02-23 09:58:53 -0800161
162 <!-- Allows an application to write the current theme configuration and
163 write information about the various themes currently installed.
164 Changing themes should be done through the service ACCESS_THEME_MANAGER -->
165 <permission android:name="cyanogenmod.permission.WRITE_THEMES"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800166 android:label="@string/permlab_writeThemes"
167 android:description="@string/permdesc_writeThemesDesc"
168 android:protectionLevel="normal" />
169
170 <!-- Allows low-level access to performance management.
171 <p>Not for use by third-party applications. -->
172 <permission android:name="cyanogenmod.permission.PERFORMANCE_ACCESS"
173 android:label="@string/permlab_perfAccess"
174 android:description="@string/permdesc_perfAccessDesc"
175 android:protectionLevel="signature|privileged" />
d34db3ea2852016-02-23 09:58:53 -0800176
d34dbfa500d2016-03-08 09:14:34 -0800177 <!-- Allows an application to access the live lock screen manager. -->
178 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"
179 android:label="@string/permlab_accessLiveLockScreenService"
180 android:description="@string/permdesc_accessLiveLockScreenService"
181 android:protectionLevel="dangerous" />
182
183 <!-- Allows system apps privileged access to the live lock screen manager.
184 @hide -->
185 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE"
186 android:label="@string/permlab_accessLiveLockScreenServicePrivate"
187 android:description="@string/permdesc_accessLiveLockScreenServicePrivate"
Steve Kondikfe3b9f02016-09-04 04:19:45 -0700188 android:protectionLevel="signature|privileged"
189 androidprv:allowViaWhitelist="true" />
d34dbfa500d2016-03-08 09:14:34 -0800190
191 <!-- Permission required to be held for a service that provides a LiveLockScreenManagerService
192 @hide -->
193 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_PROVIDER"
194 android:label="@string/permlab_accessLiveLockScreenServiceProvider"
195 android:description="@string/permdesc_accessLiveLockScreenServiceProvider"
196 android:protectionLevel="signature|privileged" />
197
Luis Vidal4195a1c2016-03-21 11:56:40 -0700198 <!-- Allows an application to read the weather content from the provider-->
199 <permission android:name="cyanogenmod.permission.READ_WEATHER"
200 android:label="@string/permlab_weather_read"
201 android:description="@string/permdesc_weather_read"
202 android:protectionLevel="normal"/>
203
204 <!-- Allows an application to update the content of the weather provider
205 <p>Not for use by third-party applications. -->
206 <permission android:name="cyanogenmod.permission.WRITE_WEATHER"
207 android:label="@string/permlab_weather_write"
208 android:description="@string/permdesc_weather_write"
209 android:protectionLevel="signature|privileged" />
210
211 <!-- Allows an application to be identified as a weather provider service -->
212 <permission android:name="cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"
213 android:label="@string/permlab_weather_bind"
214 android:description="@string/permdesc_weather_bind"
Luis Vidalc4871912016-07-15 20:48:45 -0700215 android:protectionLevel="signature|privileged"/>
Luis Vidal4195a1c2016-03-21 11:56:40 -0700216
Steve Kondikbf3c0cf2016-04-23 00:57:07 -0700217 <!-- Allows an application to observe system-wide changes to audio sessions
218 @hide -->
219 <permission android:name="cyanogenmod.permission.OBSERVE_AUDIO_SESSIONS"
220 android:label="@string/permlab_observe_audio_sessions"
221 android:description="@string/permdesc_observe_audio_sessions"
222 android:protectionLevel="normal"/>
223
Roman Birg705716f2016-07-06 13:32:16 -0700224 <!-- Allows an application to post system-wide changes to audio sessions
225 @hide -->
226 <permission android:name="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS"
227 android:label="@string/permlab_manage_audio_sessions"
228 android:description="@string/permdesc_manage_audio_sessions"
Steve Kondikfe3b9f02016-09-04 04:19:45 -0700229 android:protectionLevel="signature|privileged"
230 androidprv:allowViaWhitelist="true" />
Roman Birg705716f2016-07-06 13:32:16 -0700231
Luis Vidal4195a1c2016-03-21 11:56:40 -0700232 <!-- Allows an application to access the weather service.
233 <p>Although the protection is normal, this permission should be required ONLY by those apps
234 meant to do something meaningful with the data provided by the service (LockClock, SysUI)-->
235 <permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER"
236 android:label="@string/permlab_weather_access_mgr"
237 android:description="@string/permdesc_weather_access_mgr"
238 android:protectionLevel="normal"/>
239
Steve Kondik1dab5a02016-03-31 11:23:36 -0700240 <!-- Allows an application to manage LiveDisplay -->
241 <permission android:name="cyanogenmod.permission.MANAGE_LIVEDISPLAY"
242 android:label="@string/permlab_manageLiveDisplay"
243 android:description="@string/permdesc_manageLiveDisplay"
244 android:icon="@drawable/ic_launcher_cyanogenmod"
245 android:protectionLevel="normal" />
246
Adnan Begovicb62a4552016-06-21 13:55:18 -0700247 <!-- Not meant for third parties. Allows brokering core services to other
248 processes @hide -->
249 <permission android:name="cyanogenmod.permission.BIND_CORE_SERVICE"
250 android:protectionLevel="signature|privileged" />
251
d34dc4ed8c82016-07-15 09:56:19 -0700252 <!-- Not meant for third parties.
253 @hide -->
254 <permission android:name="cyanogenmod.permission.SEND_PROTECTED_THEME_BROADCAST"
255 android:protectionLevel="signature|privileged" />
256
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700257 <application android:process="system"
258 android:persistent="true"
259 android:hasCode="false"
260 android:label="@string/cyanogenmod_system_label"
261 android:allowClearUserData="false"
262 android:killAfterRestore="false"
263 android:supportsRtl="true"/>
264
gkipnis1ee5f202016-02-11 15:36:08 -0800265 <!-- Permission for reading the DataUsage database -->
266 <permission android:name="cyanogenmod.permission.READ_DATAUSAGE"
267 android:label="@string/permlab_dataUsageRead"
268 android:description="@string/permdesc_dataUsageRead"
269 android:protectionLevel="signature|privileged" />
270
271 <!-- Permission for writing the DataUsage database -->
272 <permission android:name="cyanogenmod.permission.WRITE_DATAUSAGE"
273 android:label="@string/permlab_dataUsageWrite"
274 android:description="@string/permdesc_dataUsageWrite"
275 android:protectionLevel="signature|privileged" />
276
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700277</manifest>