blob: c8fc50aa4702ec6452266f088b3ad2d09231e868 [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 Birg6ad52632016-02-16 19:03:29 -080027
Adnan Begovic37fc76f2015-05-05 17:37:05 -070028 <!-- Must be required by an, to ensure that only the system can bind to it.
29 @hide -->
30 <permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
31 android:label="@string/permlab_bindCustomTileListenerService"
32 android:description="@string/permdesc_bindCustomTileListenerService"
33 android:protectionLevel="signature" />
34
35 <!-- Allows a 3rd party application to publish or unpublish a quick settings tile -->
36 <permission android:name="cyanogenmod.permission.PUBLISH_CUSTOM_TILE"
37 android:label="@string/permlab_publishCustomTile"
38 android:description="@string/permdesc_publishCustomTile"
Adnan Begovic4e081ae2015-06-23 19:24:18 -070039 android:icon="@drawable/ic_launcher_cyanogenmod"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070040 android:protectionLevel="normal" />
41
Matt Garnes9e69abb2015-10-14 13:27:08 -070042 <!-- Allows an app to make changes to the airplane mode and mobile data network settings -->
Matt Garnes0cdb1d52015-07-14 16:29:56 -070043 <permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
44 android:label="@string/permlab_modifyNetworkSettings"
45 android:description="@string/permdesc_modifyNetworkSettings"
46 android:icon="@drawable/ic_launcher_cyanogenmod"
Matt Garnesa4581222015-09-03 12:16:30 -070047 androidprv:allowViaWhitelist="true"
Danesh Mb56f3462015-11-04 14:26:55 -080048 android:protectionLevel="signature|privileged" />
Matt Garnes0cdb1d52015-07-14 16:29:56 -070049
Matt Garnes9e69abb2015-10-14 13:27:08 -070050 <!-- Allows an app to make changes to the interruption mode sound settings -->
Matt Garnes51c39ba2015-07-29 17:19:03 -070051 <permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
52 android:label="@string/permlab_modifySoundSettings"
53 android:description="@string/permdesc_modifySoundSettings"
54 android:icon="@drawable/ic_launcher_cyanogenmod"
55 android:protectionLevel="normal" />
56
Joao Figueiredo7f503352015-08-06 23:59:02 +010057 <!-- Allows a 3rd party to view the phone SIM states and data connection -->
58 <permission android:name="cyanogenmod.permission.READ_MSIM_PHONE_STATE"
59 android:label="@string/permlab_readMSPhoneState"
60 android:description="@string/permdesc_readMSPhoneState"
61 android:icon="@drawable/ic_launcher_cyanogenmod"
62 android:protectionLevel="normal" />
63
64 <!-- Allows a 3rd party to modify the phone SIM states and data connection -->
65 <permission android:name="cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"
66 android:label="@string/permlab_modifyMSPhoneState"
67 android:description="@string/permdesc_modifyMSPhoneState"
68 android:icon="@drawable/ic_launcher_cyanogenmod"
69 android:protectionLevel="normal" />
70
Adnan Begovicbc2ea6b2015-09-01 18:00:39 -070071 <!-- Allows an application access to the CM hardware abstraction framework
72 <p>Not for use by third-party applications. -->
Steve Kondik5ee87cb2015-08-16 22:33:30 -070073 <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"
74 android:label="@string/permlab_useHardwareFramework"
75 android:description="@string/permdesc_useHardwareFramework"
Danesh Mb56f3462015-11-04 14:26:55 -080076 android:protectionLevel="signature|privileged" />
Steve Kondik5ee87cb2015-08-16 22:33:30 -070077
Yvonne Wong0eb29992015-08-20 16:02:08 -070078 <!-- Allows an application to write to CM system settings -->
79 <permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
80 android:label="@string/permlab_writeSettings"
81 android:description="@string/permdesc_writeSettings"
82 android:protectionLevel="normal" />
83
Adnan Begovic05239112015-09-01 15:09:46 -070084 <!-- Allows an application to modify system profiles -->
85 <permission android:name="cyanogenmod.permission.MODIFY_PROFILES"
86 android:label="@string/permlab_modifyProfiles"
87 android:description="@string/permdesc_modifyProfiles"
88 android:protectionLevel="normal" />
89
Yvonne Wong0eb29992015-08-20 16:02:08 -070090 <!-- Allows an application to write to secure CM system settings.
91 <p>Not for use by third-party applications. -->
92 <permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
93 android:label="@string/permlab_writeSecureSettings"
94 android:description="@string/permdesc_writeSecureSettings"
Danesh Mb56f3462015-11-04 14:26:55 -080095 android:protectionLevel="signature|privileged|development" />
Yvonne Wong0eb29992015-08-20 16:02:08 -070096
Adnan Begovic7f177042015-09-01 17:04:27 -070097 <!-- Allows an application to write alarms to the default alarm clock application
98 <p>Not for use by third-party applications. -->
99 <permission android:name="cyanogenmod.permission.WRITE_ALARMS"
100 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
Danesh Mb56f3462015-11-04 14:26:55 -0800101 android:protectionLevel="signature|privileged"
Adnan Begovic7f177042015-09-01 17:04:27 -0700102 android:label="@string/permlab_write_alarms"
103 android:description="@string/permdesc_write_alarms"/>
104
105 <!-- Allows an application to manage alarms on the default alarm clock application -->
106 <permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
107 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
108 android:protectionLevel="normal"
109 android:label="@string/permlab_manage_alarms"
110 android:description="@string/permdesc_manage_alarms"/>
111
112 <!-- Allows an application to read alarms from the default alarm clock application -->
113 <permission android:name="cyanogenmod.permission.READ_ALARMS"
114 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
115 android:protectionLevel="normal"
116 android:label="@string/permlab_read_alarms"
117 android:description="@string/permdesc_read_alarms"/>
118
Steve Kondik7cef6f62015-08-31 18:43:51 -0700119 <!-- Allows an application to access persistent property storage
120 <p>Not for use by third-party applications. -->
121 <permission android:name="cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"
122 android:label="@string/permlab_managePersistentStorage"
123 android:description="@string/permdesc_managePersistentStorage"
Danesh Mb56f3462015-11-04 14:26:55 -0800124 android:protectionLevel="signature|privileged" />
Steve Kondik7cef6f62015-08-31 18:43:51 -0700125
herriojre78ca4d2015-09-08 13:59:20 -0700126 <!-- Permission for accessing a provider of app suggestions
Adnan Begovic3c456652015-09-14 17:39:51 -0700127 <p>Not for use by third-party applications. -->
herriojre78ca4d2015-09-08 13:59:20 -0700128 <permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"
129 android:label="@string/permlab_accessAppSuggestions"
130 android:description="@string/permdesc_accessAppSuggestions"
Danesh Mb56f3462015-11-04 14:26:55 -0800131 android:protectionLevel="signature|privileged|development" />
herriojre78ca4d2015-09-08 13:59:20 -0700132
Vineet Patil35fdbda2015-11-23 16:59:26 -0800133 <!-- Permission for adding/removing applications to protected apps
134 <p>Not for use by third-party applications. -->
135 <permission
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800136 android:name="cyanogenmod.permission.PROTECTED_APP"
137 android:label="@string/permlab_protectedApp"
138 android:description="@string/permdesc_protectedApp"
139 android:protectionLevel="signature|privileged" />
Vineet Patil35fdbda2015-11-23 16:59:26 -0800140
d34d9691d422015-12-09 10:43:41 -0800141 <!-- Allows an application to be used as a third party keyguard -->
142 <permission android:name="android.permission.THIRD_PARTY_KEYGUARD"
143 android:label="@string/permlab_thirdPartyKeyguard"
144 android:description="@string/permdesc_thirdPartyKeyguard"
d34df4990092016-01-20 16:51:54 -0800145 android:protectionLevel="normal" />
d34d9691d422015-12-09 10:43:41 -0800146
d34db3ea2852016-02-23 09:58:53 -0800147 <!-- Allows an application to use ThemeManager -->
148 <permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800149 android:label="@string/permlab_accessThemeService"
150 android:description="@string/permdesc_accessThemeService"
151 android:protectionLevel="normal" />
d34db3ea2852016-02-23 09:58:53 -0800152
153 <!-- Allows an application to read the current theme configuration and
154 get information about the various themes currently installed -->
155 <permission android:name="cyanogenmod.permission.READ_THEMES"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800156 android:label="@string/permlab_readThemes"
157 android:description="@string/permdesc_readThemesDesc"
158 android:protectionLevel="normal" />
d34db3ea2852016-02-23 09:58:53 -0800159
160 <!-- Allows an application to write the current theme configuration and
161 write information about the various themes currently installed.
162 Changing themes should be done through the service ACCESS_THEME_MANAGER -->
163 <permission android:name="cyanogenmod.permission.WRITE_THEMES"
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800164 android:label="@string/permlab_writeThemes"
165 android:description="@string/permdesc_writeThemesDesc"
166 android:protectionLevel="normal" />
167
168 <!-- Allows low-level access to performance management.
169 <p>Not for use by third-party applications. -->
170 <permission android:name="cyanogenmod.permission.PERFORMANCE_ACCESS"
171 android:label="@string/permlab_perfAccess"
172 android:description="@string/permdesc_perfAccessDesc"
173 android:protectionLevel="signature|privileged" />
d34db3ea2852016-02-23 09:58:53 -0800174
d34dbfa500d2016-03-08 09:14:34 -0800175 <!-- Allows an application to access the live lock screen manager. -->
176 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS"
177 android:label="@string/permlab_accessLiveLockScreenService"
178 android:description="@string/permdesc_accessLiveLockScreenService"
179 android:protectionLevel="dangerous" />
180
181 <!-- Allows system apps privileged access to the live lock screen manager.
182 @hide -->
183 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS_PRIVATE"
184 android:label="@string/permlab_accessLiveLockScreenServicePrivate"
185 android:description="@string/permdesc_accessLiveLockScreenServicePrivate"
186 android:protectionLevel="signature|privileged" />
187
188 <!-- Permission required to be held for a service that provides a LiveLockScreenManagerService
189 @hide -->
190 <permission android:name="cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_PROVIDER"
191 android:label="@string/permlab_accessLiveLockScreenServiceProvider"
192 android:description="@string/permdesc_accessLiveLockScreenServiceProvider"
193 android:protectionLevel="signature|privileged" />
194
Luis Vidal4195a1c2016-03-21 11:56:40 -0700195 <!-- Allows an application to read the weather content from the provider-->
196 <permission android:name="cyanogenmod.permission.READ_WEATHER"
197 android:label="@string/permlab_weather_read"
198 android:description="@string/permdesc_weather_read"
199 android:protectionLevel="normal"/>
200
201 <!-- Allows an application to update the content of the weather provider
202 <p>Not for use by third-party applications. -->
203 <permission android:name="cyanogenmod.permission.WRITE_WEATHER"
204 android:label="@string/permlab_weather_write"
205 android:description="@string/permdesc_weather_write"
206 android:protectionLevel="signature|privileged" />
207
208 <!-- Allows an application to be identified as a weather provider service -->
209 <permission android:name="cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE"
210 android:label="@string/permlab_weather_bind"
211 android:description="@string/permdesc_weather_bind"
212 android:protectionLevel="signature"/>
213
214 <!-- Allows an application to access the weather service.
215 <p>Although the protection is normal, this permission should be required ONLY by those apps
216 meant to do something meaningful with the data provided by the service (LockClock, SysUI)-->
217 <permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER"
218 android:label="@string/permlab_weather_access_mgr"
219 android:description="@string/permdesc_weather_access_mgr"
220 android:protectionLevel="normal"/>
221
Steve Kondik1dab5a02016-03-31 11:23:36 -0700222 <!-- Allows an application to manage LiveDisplay -->
223 <permission android:name="cyanogenmod.permission.MANAGE_LIVEDISPLAY"
224 android:label="@string/permlab_manageLiveDisplay"
225 android:description="@string/permdesc_manageLiveDisplay"
226 android:icon="@drawable/ic_launcher_cyanogenmod"
227 android:protectionLevel="normal" />
228
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700229 <application android:process="system"
230 android:persistent="true"
231 android:hasCode="false"
232 android:label="@string/cyanogenmod_system_label"
233 android:allowClearUserData="false"
234 android:killAfterRestore="false"
235 android:supportsRtl="true"/>
236
gkipnis1ee5f202016-02-11 15:36:08 -0800237 <!-- Permission for reading the DataUsage database -->
238 <permission android:name="cyanogenmod.permission.READ_DATAUSAGE"
239 android:label="@string/permlab_dataUsageRead"
240 android:description="@string/permdesc_dataUsageRead"
241 android:protectionLevel="signature|privileged" />
242
243 <!-- Permission for writing the DataUsage database -->
244 <permission android:name="cyanogenmod.permission.WRITE_DATAUSAGE"
245 android:label="@string/permlab_dataUsageWrite"
246 android:description="@string/permdesc_dataUsageWrite"
247 android:protectionLevel="signature|privileged" />
248
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700249</manifest>