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 | 6ad5263 | 2016-02-16 19:03:29 -0800 | [diff] [blame] | 27 | |
Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 28 | <!-- 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 Begovic | 4e081ae | 2015-06-23 19:24:18 -0700 | [diff] [blame] | 39 | android:icon="@drawable/ic_launcher_cyanogenmod" |
Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 40 | android:protectionLevel="normal" /> |
| 41 | |
Matt Garnes | 9e69abb | 2015-10-14 13:27:08 -0700 | [diff] [blame] | 42 | <!-- 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] | 43 | <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 Garnes | a458122 | 2015-09-03 12:16:30 -0700 | [diff] [blame] | 47 | androidprv:allowViaWhitelist="true" |
Danesh M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 48 | android:protectionLevel="signature|privileged" /> |
Matt Garnes | 0cdb1d5 | 2015-07-14 16:29:56 -0700 | [diff] [blame] | 49 | |
Matt Garnes | 9e69abb | 2015-10-14 13:27:08 -0700 | [diff] [blame] | 50 | <!-- Allows an app to make changes to the interruption mode sound settings --> |
Matt Garnes | 51c39ba | 2015-07-29 17:19:03 -0700 | [diff] [blame] | 51 | <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 Figueiredo | 7f50335 | 2015-08-06 23:59:02 +0100 | [diff] [blame] | 57 | <!-- 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 Begovic | bc2ea6b | 2015-09-01 18:00:39 -0700 | [diff] [blame] | 71 | <!-- Allows an application access to the CM hardware abstraction framework |
| 72 | <p>Not for use by third-party applications. --> |
Steve Kondik | 5ee87cb | 2015-08-16 22:33:30 -0700 | [diff] [blame] | 73 | <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS" |
| 74 | android:label="@string/permlab_useHardwareFramework" |
| 75 | android:description="@string/permdesc_useHardwareFramework" |
Danesh M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 76 | android:protectionLevel="signature|privileged" /> |
Steve Kondik | 5ee87cb | 2015-08-16 22:33:30 -0700 | [diff] [blame] | 77 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 78 | <!-- 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 Begovic | 0523911 | 2015-09-01 15:09:46 -0700 | [diff] [blame] | 84 | <!-- 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 Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 90 | <!-- 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 M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 95 | android:protectionLevel="signature|privileged|development" /> |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 96 | |
Adnan Begovic | 7f17704 | 2015-09-01 17:04:27 -0700 | [diff] [blame] | 97 | <!-- 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 M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 101 | android:protectionLevel="signature|privileged" |
Adnan Begovic | 7f17704 | 2015-09-01 17:04:27 -0700 | [diff] [blame] | 102 | 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 Kondik | 7cef6f6 | 2015-08-31 18:43:51 -0700 | [diff] [blame] | 119 | <!-- 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 M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 124 | android:protectionLevel="signature|privileged" /> |
Steve Kondik | 7cef6f6 | 2015-08-31 18:43:51 -0700 | [diff] [blame] | 125 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 126 | <!-- Permission for accessing a provider of app suggestions |
Adnan Begovic | 3c45665 | 2015-09-14 17:39:51 -0700 | [diff] [blame] | 127 | <p>Not for use by third-party applications. --> |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 128 | <permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS" |
| 129 | android:label="@string/permlab_accessAppSuggestions" |
| 130 | android:description="@string/permdesc_accessAppSuggestions" |
Danesh M | b56f346 | 2015-11-04 14:26:55 -0800 | [diff] [blame] | 131 | android:protectionLevel="signature|privileged|development" /> |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 132 | |
Vineet Patil | 35fdbda | 2015-11-23 16:59:26 -0800 | [diff] [blame] | 133 | <!-- Permission for adding/removing applications to protected apps |
| 134 | <p>Not for use by third-party applications. --> |
| 135 | <permission |
Adnan Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 136 | android:name="cyanogenmod.permission.PROTECTED_APP" |
| 137 | android:label="@string/permlab_protectedApp" |
| 138 | android:description="@string/permdesc_protectedApp" |
| 139 | android:protectionLevel="signature|privileged" /> |
Vineet Patil | 35fdbda | 2015-11-23 16:59:26 -0800 | [diff] [blame] | 140 | |
d34d | 9691d42 | 2015-12-09 10:43:41 -0800 | [diff] [blame] | 141 | <!-- 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" |
d34d | f499009 | 2016-01-20 16:51:54 -0800 | [diff] [blame] | 145 | android:protectionLevel="normal" /> |
d34d | 9691d42 | 2015-12-09 10:43:41 -0800 | [diff] [blame] | 146 | |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 147 | <!-- Allows an application to use ThemeManager --> |
| 148 | <permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER" |
Adnan Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 149 | android:label="@string/permlab_accessThemeService" |
| 150 | android:description="@string/permdesc_accessThemeService" |
| 151 | android:protectionLevel="normal" /> |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 152 | |
| 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 Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 156 | android:label="@string/permlab_readThemes" |
| 157 | android:description="@string/permdesc_readThemesDesc" |
| 158 | android:protectionLevel="normal" /> |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 159 | |
| 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 Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 164 | 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" /> |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 174 | |
d34d | bfa500d | 2016-03-08 09:14:34 -0800 | [diff] [blame] | 175 | <!-- 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 Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 195 | <!-- 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 Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 222 | <!-- 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 Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 229 | <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 | |
gkipnis | 1ee5f20 | 2016-02-11 15:36:08 -0800 | [diff] [blame] | 237 | <!-- 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 Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 249 | </manifest> |