aboutsummaryrefslogtreecommitdiffstats
path: root/cm/res/AndroidManifest.xml
blob: b5e6f748996dd320cdde0e4029e3c3e72ce23231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
 * Copyright 2015, CyanogenMod Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    package="cyanogenmod.platform"
    coreApp="true" android:sharedUserId="android.uid.system"
    android:sharedUserLabel="@string/cyanogenmod_system_label">

    <protected-broadcast android:name="cyanogenmod.intent.action.SCREEN_CAMERA_GESTURE" />
    <protected-broadcast android:name="cyanogenmod.intent.action.INITIALIZE_CM_HARDWARE" />

    <!-- Must be required by an, to ensure that only the system can bind to it.
         @hide -->
    <permission android:name="cyanogenmod.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE"
                android:label="@string/permlab_bindCustomTileListenerService"
                android:description="@string/permdesc_bindCustomTileListenerService"
                android:protectionLevel="signature" />

    <!-- Allows a 3rd party application to publish or unpublish a quick settings tile -->
    <permission android:name="cyanogenmod.permission.PUBLISH_CUSTOM_TILE"
                android:label="@string/permlab_publishCustomTile"
                android:description="@string/permdesc_publishCustomTile"
                android:icon="@drawable/ic_launcher_cyanogenmod"
                android:protectionLevel="normal" />

    <!-- Allows an app to make changes to the airplane mode and mobile data network settings -->
    <permission android:name="cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"
                android:label="@string/permlab_modifyNetworkSettings"
                android:description="@string/permdesc_modifyNetworkSettings"
                android:icon="@drawable/ic_launcher_cyanogenmod"
                androidprv:allowViaWhitelist="true"
                android:protectionLevel="signature|privileged" />

    <!-- Allows an app to make changes to the interruption mode sound settings -->
    <permission android:name="cyanogenmod.permission.MODIFY_SOUND_SETTINGS"
                android:label="@string/permlab_modifySoundSettings"
                android:description="@string/permdesc_modifySoundSettings"
                android:icon="@drawable/ic_launcher_cyanogenmod"
                android:protectionLevel="normal" />

    <!-- Allows a 3rd party to view the phone SIM states and data connection -->
    <permission android:name="cyanogenmod.permission.READ_MSIM_PHONE_STATE"
                android:label="@string/permlab_readMSPhoneState"
                android:description="@string/permdesc_readMSPhoneState"
                android:icon="@drawable/ic_launcher_cyanogenmod"
                android:protectionLevel="normal" />

    <!-- Allows a 3rd party to modify the phone SIM states and data connection -->
    <permission android:name="cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"
                android:label="@string/permlab_modifyMSPhoneState"
                android:description="@string/permdesc_modifyMSPhoneState"
                android:icon="@drawable/ic_launcher_cyanogenmod"
                android:protectionLevel="normal" />

    <!-- Allows an application access to the CM hardware abstraction framework
        <p>Not for use by third-party applications. -->
    <permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"
                android:label="@string/permlab_useHardwareFramework"
                android:description="@string/permdesc_useHardwareFramework"
                android:protectionLevel="signature|privileged" />

    <!-- Allows an application to write to CM system settings -->
    <permission android:name="cyanogenmod.permission.WRITE_SETTINGS"
                android:label="@string/permlab_writeSettings"
                android:description="@string/permdesc_writeSettings"
                android:protectionLevel="normal" />

    <!-- Allows an application to modify system profiles -->
    <permission android:name="cyanogenmod.permission.MODIFY_PROFILES"
                android:label="@string/permlab_modifyProfiles"
                android:description="@string/permdesc_modifyProfiles"
                android:protectionLevel="normal" />

    <!-- Allows an application to write to secure CM system settings.
        <p>Not for use by third-party applications. -->
    <permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"
                android:label="@string/permlab_writeSecureSettings"
                android:description="@string/permdesc_writeSecureSettings"
                android:protectionLevel="signature|privileged|development" />

    <!-- Allows an application to write alarms to the default alarm clock application
        <p>Not for use by third-party applications. -->
    <permission android:name="cyanogenmod.permission.WRITE_ALARMS"
                android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
                android:protectionLevel="signature|privileged"
                android:label="@string/permlab_write_alarms"
                android:description="@string/permdesc_write_alarms"/>

    <!-- Allows an application to manage alarms on the default alarm clock application -->
    <permission android:name="cyanogenmod.permission.MANAGE_ALARMS"
                android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
                android:protectionLevel="normal"
                android:label="@string/permlab_manage_alarms"
                android:description="@string/permdesc_manage_alarms"/>

    <!-- Allows an application to read alarms from the default alarm clock application -->
    <permission android:name="cyanogenmod.permission.READ_ALARMS"
                android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
                android:protectionLevel="normal"
                android:label="@string/permlab_read_alarms"
                android:description="@string/permdesc_read_alarms"/>

    <!-- Allows an application to access persistent property storage
         <p>Not for use by third-party applications. -->
    <permission android:name="cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"
                android:label="@string/permlab_managePersistentStorage"
                android:description="@string/permdesc_managePersistentStorage"
                android:protectionLevel="signature|privileged" />

    <!-- Permission for accessing a provider of app suggestions
         <p>Not for use by third-party applications. -->
    <permission android:name="cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"
                android:label="@string/permlab_accessAppSuggestions"
                android:description="@string/permdesc_accessAppSuggestions"
                android:protectionLevel="signature|privileged|development" />

    <!-- Permission for adding/removing applications to protected apps
          <p>Not for use by third-party applications. -->
    <permission
            android:name="cyanogenmod.permission.PROTECTED_APP"
            android:label="@string/permlab_protectedApp"
            android:description="@string/permdesc_protectedApp"
            android:protectionLevel="signature|privileged" />

    <!-- Allows an application to be used as a third party keyguard -->
    <permission android:name="android.permission.THIRD_PARTY_KEYGUARD"
                android:label="@string/permlab_thirdPartyKeyguard"
                android:description="@string/permdesc_thirdPartyKeyguard"
                android:protectionLevel="normal" />

    <!-- Allows an application to use ThemeManager -->
    <permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"
        android:label="@string/permlab_accessThemeService"
        android:description="@string/permdesc_accessThemeService"
        android:protectionLevel="normal" />

    <!-- Allows an application to read the current theme configuration and
         get information about the various themes currently installed -->
    <permission android:name="cyanogenmod.permission.READ_THEMES"
        android:label="@string/permlab_readThemes"
        android:description="@string/permdesc_readThemesDesc"
        android:protectionLevel="normal" />

    <!-- Allows an application to write the current theme configuration and
         write information about the various themes currently installed.
         Changing themes should be done through the service ACCESS_THEME_MANAGER -->
    <permission android:name="cyanogenmod.permission.WRITE_THEMES"
        android:label="@string/permlab_writeThemes"
        android:description="@string/permdesc_writeThemesDesc"
        android:protectionLevel="normal" />

    <application android:process="system"
                 android:persistent="true"
                 android:hasCode="false"
                 android:label="@string/cyanogenmod_system_label"
                 android:allowClearUserData="false"
                 android:killAfterRestore="false"
                 android:supportsRtl="true"/>

</manifest>