blob: 2c184666697b2caea42771738ceb5a5cdb3947a8 [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"
Adnan Begovic37c4b962015-05-13 04:48:42 -070020 package="cyanogenmod.platform"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070021 coreApp="true" android:sharedUserId="android.uid.system"
22 android:sharedUserLabel="@string/cyanogenmod_system_label">
23
24 <!-- Must be required by an, to ensure that only the system can bind to it.
25 @hide -->
26 <permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
27 android:label="@string/permlab_bindCustomTileListenerService"
28 android:description="@string/permdesc_bindCustomTileListenerService"
29 android:protectionLevel="signature" />
30
31 <!-- Allows a 3rd party application to publish or unpublish a quick settings tile -->
32 <permission android:name="cyanogenmod.permission.PUBLISH_CUSTOM_TILE"
33 android:label="@string/permlab_publishCustomTile"
34 android:description="@string/permdesc_publishCustomTile"
Adnan Begovic4e081ae2015-06-23 19:24:18 -070035 android:icon="@drawable/ic_launcher_cyanogenmod"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070036 android:protectionLevel="normal" />
37
Matt Garnes0cdb1d52015-07-14 16:29:56 -070038 <!-- Allows system applications to make changes to a subset of system network settings -->
39 <permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
40 android:label="@string/permlab_modifyNetworkSettings"
41 android:description="@string/permdesc_modifyNetworkSettings"
42 android:icon="@drawable/ic_launcher_cyanogenmod"
43 android:protectionLevel="system|signature" />
44
Matt Garnes51c39ba2015-07-29 17:19:03 -070045 <!-- Allows system applications to make changes to a subset of system sound settings -->
46 <permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
47 android:label="@string/permlab_modifySoundSettings"
48 android:description="@string/permdesc_modifySoundSettings"
49 android:icon="@drawable/ic_launcher_cyanogenmod"
50 android:protectionLevel="normal" />
51
Joao Figueiredo7f503352015-08-06 23:59:02 +010052 <!-- Allows a 3rd party to view the phone SIM states and data connection -->
53 <permission android:name="cyanogenmod.permission.READ_MSIM_PHONE_STATE"
54 android:label="@string/permlab_readMSPhoneState"
55 android:description="@string/permdesc_readMSPhoneState"
56 android:icon="@drawable/ic_launcher_cyanogenmod"
57 android:protectionLevel="normal" />
58
59 <!-- Allows a 3rd party to modify the phone SIM states and data connection -->
60 <permission android:name="cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"
61 android:label="@string/permlab_modifyMSPhoneState"
62 android:description="@string/permdesc_modifyMSPhoneState"
63 android:icon="@drawable/ic_launcher_cyanogenmod"
64 android:protectionLevel="normal" />
65
Steve Kondik5ee87cb2015-08-16 22:33:30 -070066 <!-- Allows an application access to the CM hardware abstraction framework -->
67 <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"
68 android:label="@string/permlab_useHardwareFramework"
69 android:description="@string/permdesc_useHardwareFramework"
70 android:protectionLevel="system|signature" />
71
Yvonne Wong0eb29992015-08-20 16:02:08 -070072 <!-- Allows an application to write to CM system settings -->
73 <permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
74 android:label="@string/permlab_writeSettings"
75 android:description="@string/permdesc_writeSettings"
76 android:protectionLevel="normal" />
77
Adnan Begovic05239112015-09-01 15:09:46 -070078 <!-- Allows an application to modify system profiles -->
79 <permission android:name="cyanogenmod.permission.MODIFY_PROFILES"
80 android:label="@string/permlab_modifyProfiles"
81 android:description="@string/permdesc_modifyProfiles"
82 android:protectionLevel="normal" />
83
Yvonne Wong0eb29992015-08-20 16:02:08 -070084 <!-- Allows an application to write to secure CM system settings.
85 <p>Not for use by third-party applications. -->
86 <permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
87 android:label="@string/permlab_writeSecureSettings"
88 android:description="@string/permdesc_writeSecureSettings"
89 android:protectionLevel="signature|system|development" />
90
Adnan Begovic7f177042015-09-01 17:04:27 -070091 <!-- Allows an application to write alarms to the default alarm clock application
92 <p>Not for use by third-party applications. -->
93 <permission android:name="cyanogenmod.permission.WRITE_ALARMS"
94 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
95 android:protectionLevel="system|signature"
96 android:label="@string/permlab_write_alarms"
97 android:description="@string/permdesc_write_alarms"/>
98
99 <!-- Allows an application to manage alarms on the default alarm clock application -->
100 <permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
101 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
102 android:protectionLevel="normal"
103 android:label="@string/permlab_manage_alarms"
104 android:description="@string/permdesc_manage_alarms"/>
105
106 <!-- Allows an application to read alarms from the default alarm clock application -->
107 <permission android:name="cyanogenmod.permission.READ_ALARMS"
108 android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
109 android:protectionLevel="normal"
110 android:label="@string/permlab_read_alarms"
111 android:description="@string/permdesc_read_alarms"/>
112
Adnan Begovic37fc76f2015-05-05 17:37:05 -0700113 <application android:process="system"
114 android:persistent="true"
115 android:hasCode="false"
116 android:label="@string/cyanogenmod_system_label"
117 android:allowClearUserData="false"
118 android:killAfterRestore="false"
119 android:supportsRtl="true"/>
120
121</manifest>