Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 1 | <?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 Garnes | a458122 | 2015-09-03 12:16:30 -0700 | [diff] [blame] | 20 | xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" |
Adnan Begovic | 37c4b96 | 2015-05-13 04:48:42 -0700 | [diff] [blame] | 21 | package="cyanogenmod.platform" |
Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 22 | coreApp="true" android:sharedUserId="android.uid.system" |
| 23 | android:sharedUserLabel="@string/cyanogenmod_system_label"> |
| 24 | |
Roman Birg | 6ad5263 | 2016-02-16 19:03:29 -0800 | [diff] [blame] | 25 | <protected-broadcast android:name="cyanogenmod.intent.action.SCREEN_CAMERA_GESTURE" /> |
Roman Birg | e3c9668 | 2016-02-24 08:58:39 -0800 | [diff] [blame] | 26 | <protected-broadcast android:name="cyanogenmod.intent.action.INITIALIZE_CM_HARDWARE" /> |
Roman Birg | 705716f | 2016-07-06 13:32:16 -0700 | [diff] [blame] | 27 | <protected-broadcast android:name="cyanogenmod.intent.action.ACTION_AUDIO_SESSIONS_CHANGED" |
| 28 | android:permission="cyanogenmod.permission.MANAGE_AUDIO_SESSIONS" /> |
Roman Birg | 6ad5263 | 2016-02-16 19:03:29 -0800 | [diff] [blame] | 29 | |
Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 30 | <!-- 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 Begovic | 4e081ae | 2015-06-23 19:24:18 -0700 | [diff] [blame] | 41 | android:icon="@drawable/ic_launcher_cyanogenmod" |
Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 42 | android:protectionLevel="normal" /> |
| 43 | |
Matt Garnes | 9e69abb | 2015-10-14 13:27:08 -0700 | [diff] [blame] | 44 | <!-- Allows an app to make changes to the airplane mode and mobile data network settings --> |
Matt Garnes | 0cdb1d5 | 2015-07-14 16:29:56 -0700 | [diff] [blame] | 45 | <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 Kondik | fe3b9f0 | 2016-09-04 04:19:45 -0700 | [diff] [blame^] | 49 | androidprv:allowViaWhitelist="true" |
Danesh M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 50 | android:protectionLevel="signature|privileged" /> |
Matt Garnes | 0cdb1d5 | 2015-07-14 16:29:56 -0700 | [diff] [blame] | 51 | |
Matt Garnes | 9e69abb | 2015-10-14 13:27:08 -0700 | [diff] [blame] | 52 | <!-- Allows an app to make changes to the interruption mode sound settings --> |
Matt Garnes | 51c39ba | 2015-07-29 17:19:03 -0700 | [diff] [blame] | 53 | <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 Figueiredo | 7f50335 | 2015-08-06 23:59:02 +0100 | [diff] [blame] | 59 | <!-- 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 Begovic | bc2ea6b | 2015-09-01 18:00:39 -0700 | [diff] [blame] | 73 | <!-- Allows an application access to the CM hardware abstraction framework |
| 74 | <p>Not for use by third-party applications. --> |
Steve Kondik | 5ee87cb | 2015-08-16 22:33:30 -0700 | [diff] [blame] | 75 | <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS" |
| 76 | android:label="@string/permlab_useHardwareFramework" |
| 77 | android:description="@string/permdesc_useHardwareFramework" |
Danesh M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 78 | android:protectionLevel="signature|privileged" /> |
Steve Kondik | 5ee87cb | 2015-08-16 22:33:30 -0700 | [diff] [blame] | 79 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 80 | <!-- 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 Begovic | 0523911 | 2015-09-01 15:09:46 -0700 | [diff] [blame] | 86 | <!-- 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 Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 92 | <!-- 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 M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 97 | android:protectionLevel="signature|privileged|development" /> |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 98 | |
Adnan Begovic | 7f17704 | 2015-09-01 17:04:27 -0700 | [diff] [blame] | 99 | <!-- 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 M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 103 | android:protectionLevel="signature|privileged" |
Adnan Begovic | 7f17704 | 2015-09-01 17:04:27 -0700 | [diff] [blame] | 104 | 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 Kondik | 7cef6f6 | 2015-08-31 18:43:51 -0700 | [diff] [blame] | 121 | <!-- 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 M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 126 | android:protectionLevel="signature|privileged" /> |
Steve Kondik | 7cef6f6 | 2015-08-31 18:43:51 -0700 | [diff] [blame] | 127 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 128 | <!-- Permission for accessing a provider of app suggestions |
Adnan Begovic | 3c45665 | 2015-09-14 17:39:51 -0700 | [diff] [blame] | 129 | <p>Not for use by third-party applications. --> |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 130 | <permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS" |
| 131 | android:label="@string/permlab_accessAppSuggestions" |
| 132 | android:description="@string/permdesc_accessAppSuggestions" |
Danesh M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 133 | android:protectionLevel="signature|privileged|development" /> |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 134 | |
Vineet Patil | 35fdbda | 2015-11-23 16:59:26 -0800 | [diff] [blame] | 135 | <!-- Permission for adding/removing applications to protected apps |
| 136 | <p>Not for use by third-party applications. --> |
| 137 | <permission |
Adnan Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 138 | android:name="cyanogenmod.permission.PROTECTED_APP" |
| 139 | android:label="@string/permlab_protectedApp" |
| 140 | android:description="@string/permdesc_protectedApp" |
| 141 | android:protectionLevel="signature|privileged" /> |
Vineet Patil | 35fdbda | 2015-11-23 16:59:26 -0800 | [diff] [blame] | 142 | |
d34d | 9691d42 | 2015-12-09 10:43:41 -0800 | [diff] [blame] | 143 | <!-- Allows an application to be used as a third party keyguard --> |
d34d | 10da08a | 2016-01-25 09:44:14 -0800 | [diff] [blame] | 144 | <permission android:name="cyanogenmod.permission.THIRD_PARTY_KEYGUARD" |
d34d | 9691d42 | 2015-12-09 10:43:41 -0800 | [diff] [blame] | 145 | android:label="@string/permlab_thirdPartyKeyguard" |
| 146 | android:description="@string/permdesc_thirdPartyKeyguard" |
d34d | f499009 | 2016-01-20 16:51:54 -0800 | [diff] [blame] | 147 | android:protectionLevel="normal" /> |
d34d | 9691d42 | 2015-12-09 10:43:41 -0800 | [diff] [blame] | 148 | |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 149 | <!-- Allows an application to use ThemeManager --> |
| 150 | <permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER" |
Adnan Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 151 | android:label="@string/permlab_accessThemeService" |
| 152 | android:description="@string/permdesc_accessThemeService" |
| 153 | android:protectionLevel="normal" /> |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 154 | |
| 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 Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 158 | android:label="@string/permlab_readThemes" |
| 159 | android:description="@string/permdesc_readThemesDesc" |
| 160 | android:protectionLevel="normal" /> |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 161 | |
| 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 Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 166 | 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" /> |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 176 | |
d34d | bfa500d | 2016-03-08 09:14:34 -0800 | [diff] [blame] | 177 | <!-- 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 Kondik | fe3b9f0 | 2016-09-04 04:19:45 -0700 | [diff] [blame^] | 188 | android:protectionLevel="signature|privileged" |
| 189 | androidprv:allowViaWhitelist="true" /> |
d34d | bfa500d | 2016-03-08 09:14:34 -0800 | [diff] [blame] | 190 | |
| 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 Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 198 | <!-- 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 Vidal | c487191 | 2016-07-15 20:48:45 -0700 | [diff] [blame] | 215 | android:protectionLevel="signature|privileged"/> |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 216 | |
Steve Kondik | bf3c0cf | 2016-04-23 00:57:07 -0700 | [diff] [blame] | 217 | <!-- 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 Birg | 705716f | 2016-07-06 13:32:16 -0700 | [diff] [blame] | 224 | <!-- 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 Kondik | fe3b9f0 | 2016-09-04 04:19:45 -0700 | [diff] [blame^] | 229 | android:protectionLevel="signature|privileged" |
| 230 | androidprv:allowViaWhitelist="true" /> |
Roman Birg | 705716f | 2016-07-06 13:32:16 -0700 | [diff] [blame] | 231 | |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 232 | <!-- 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 Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 240 | <!-- 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 Begovic | b62a455 | 2016-06-21 13:55:18 -0700 | [diff] [blame] | 247 | <!-- 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 | |
d34d | c4ed8c8 | 2016-07-15 09:56:19 -0700 | [diff] [blame] | 252 | <!-- Not meant for third parties. |
| 253 | @hide --> |
| 254 | <permission android:name="cyanogenmod.permission.SEND_PROTECTED_THEME_BROADCAST" |
| 255 | android:protectionLevel="signature|privileged" /> |
| 256 | |
Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 257 | <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 | |
gkipnis | 1ee5f20 | 2016-02-11 15:36:08 -0800 | [diff] [blame] | 265 | <!-- 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 Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 277 | </manifest> |