AndroidManifest.xml revision 21c9c45e5caf62b935354b74392fb40c4bf18529
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/AndroidManifest.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21    package="android" android:sharedUserId="android.uid.system"
22    android:sharedUserLabel="@string/android_system_label">
23
24    <!-- ================================================ -->
25    <!-- Special broadcasts that only the system can send -->
26    <!-- ================================================ -->
27    <eat-comment />
28
29    <protected-broadcast android:name="android.intent.action.SCREEN_OFF" />
30    <protected-broadcast android:name="android.intent.action.SCREEN_ON" />
31    <protected-broadcast android:name="android.intent.action.USER_PRESENT" />
32    <protected-broadcast android:name="android.intent.action.TIME_TICK" />
33    <protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
34    <protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
35    <protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
36    <protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
37    <protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
38    <protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
39    <protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
40    <protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
41    <protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
42    <protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
43    <protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
44    <protected-broadcast android:name="android.intent.action.UID_REMOVED" />
45    <protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
46    <protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
47    <protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
48    <protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
49    <protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
50    <protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
51    <protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
52    <protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
53    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
54    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
55    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
56    <protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
57    <protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
58    <protected-broadcast android:name="android.intent.action.REBOOT" />
59    <protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
60    <protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
61
62    <protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
63    <protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
64    <protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
65    <protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
66    
67    <protected-broadcast android:name="android.backup.intent.RUN" />
68    <protected-broadcast android:name="android.backup.intent.CLEAR" />
69    <protected-broadcast android:name="android.backup.intent.INIT" />
70
71    <protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
72    <protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
73    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
74    <protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
75    <protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
76    <protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
77    <protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
78    <protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
79    <protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
80    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
81    <protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
82    <protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
83    <protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
84    <protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
85    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
86    <protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
87
88    <protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
89    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
90    <protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
91    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
92    <protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
93
94    <protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
95    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
96    <protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
97    <protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
98
99    <protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
100    <protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
101    <protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
102
103
104    <!-- ====================================== -->
105    <!-- Permissions for things that cost money -->
106    <!-- ====================================== -->
107    <eat-comment />
108
109    <!-- Used for permissions that can be used to make the user spend money
110         without their direct involvement.  For example, this is the group
111         for permissions that allow you to directly place phone calls,
112         directly send SMS messages, etc. -->
113    <permission-group android:name="android.permission-group.COST_MONEY"
114        android:label="@string/permgrouplab_costMoney"
115        android:description="@string/permgroupdesc_costMoney" />
116
117    <!-- Allows an application to send SMS messages. -->
118    <permission android:name="android.permission.SEND_SMS"
119        android:permissionGroup="android.permission-group.COST_MONEY"
120        android:protectionLevel="dangerous"
121        android:label="@string/permlab_sendSms"
122        android:description="@string/permdesc_sendSms" />
123
124    <!-- Allows an application to initiate a phone call without going through
125         the Dialer user interface for the user to confirm the call
126         being placed. -->
127    <permission android:name="android.permission.CALL_PHONE"
128        android:permissionGroup="android.permission-group.COST_MONEY"
129        android:protectionLevel="dangerous"
130        android:label="@string/permlab_callPhone"
131        android:description="@string/permdesc_callPhone" />
132
133    <!-- ================================== -->
134    <!-- Permissions for accessing messages -->
135    <!-- ================================== -->
136    <eat-comment />
137
138    <!-- Used for permissions that allow an application to send messages
139         on behalf of the user or intercept messages being received by the
140         user.  This is primarily intended for SMS/MMS messaging, such as
141         receiving or reading an MMS. -->
142    <permission-group android:name="android.permission-group.MESSAGES"
143        android:label="@string/permgrouplab_messages"
144        android:description="@string/permgroupdesc_messages" />
145
146    <!-- Allows an application to monitor incoming SMS messages, to record
147         or perform processing on them. -->
148    <permission android:name="android.permission.RECEIVE_SMS"
149        android:permissionGroup="android.permission-group.MESSAGES"
150        android:protectionLevel="dangerous"
151        android:label="@string/permlab_receiveSms"
152        android:description="@string/permdesc_receiveSms" />
153
154    <!-- Allows an application to monitor incoming MMS messages, to record
155         or perform processing on them. -->
156    <permission android:name="android.permission.RECEIVE_MMS"
157        android:permissionGroup="android.permission-group.MESSAGES"
158        android:protectionLevel="dangerous"
159        android:label="@string/permlab_receiveMms"
160        android:description="@string/permdesc_receiveMms" />
161
162    <!-- Allows an application to receive emergency cell broadcast messages,
163         to record or display them to the user. Reserved for system apps.
164         @hide Pending API council approval -->
165    <permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
166        android:permissionGroup="android.permission-group.MESSAGES"
167        android:protectionLevel="signatureOrSystem"
168        android:label="@string/permlab_receiveEmergencyBroadcast"
169        android:description="@string/permdesc_receiveEmergencyBroadcast" />
170
171    <!-- Allows an application to read SMS messages. -->
172    <permission android:name="android.permission.READ_SMS"
173        android:permissionGroup="android.permission-group.MESSAGES"
174        android:protectionLevel="dangerous"
175        android:label="@string/permlab_readSms"
176        android:description="@string/permdesc_readSms" />
177
178    <!-- Allows an application to write SMS messages. -->
179    <permission android:name="android.permission.WRITE_SMS"
180        android:permissionGroup="android.permission-group.MESSAGES"
181        android:protectionLevel="dangerous"
182        android:label="@string/permlab_writeSms"
183        android:description="@string/permdesc_writeSms" />
184
185    <!-- Allows an application to monitor incoming WAP push messages. -->
186    <permission android:name="android.permission.RECEIVE_WAP_PUSH"
187        android:permissionGroup="android.permission-group.MESSAGES"
188        android:protectionLevel="dangerous"
189        android:label="@string/permlab_receiveWapPush"
190        android:description="@string/permdesc_receiveWapPush" />
191
192    <!-- =============================================================== -->
193    <!-- Permissions for accessing personal info (contacts and calendar) -->
194    <!-- =============================================================== -->
195    <eat-comment />
196
197    <!-- Used for permissions that provide access to the user's private data,
198         such as contacts, calendar events, e-mail messages, etc.  This includes
199         both reading and writing of this data (which should generally be
200         expressed as two distinct permissions). -->
201    <permission-group android:name="android.permission-group.PERSONAL_INFO"
202        android:label="@string/permgrouplab_personalInfo"
203        android:description="@string/permgroupdesc_personalInfo" />
204
205    <!-- Allows an application to read the user's contacts data. -->
206    <permission android:name="android.permission.READ_CONTACTS"
207        android:permissionGroup="android.permission-group.PERSONAL_INFO"
208        android:protectionLevel="dangerous"
209        android:label="@string/permlab_readContacts"
210        android:description="@string/permdesc_readContacts" />
211
212    <!-- Allows an application to write (but not read) the user's
213         contacts data. -->
214    <permission android:name="android.permission.WRITE_CONTACTS"
215        android:permissionGroup="android.permission-group.PERSONAL_INFO"
216        android:protectionLevel="dangerous"
217        android:label="@string/permlab_writeContacts"
218        android:description="@string/permdesc_writeContacts" />
219
220
221    <!-- Allows an application to read the user's personal profile data. -->
222    <permission android:name="android.permission.READ_PROFILE"
223        android:permissionGroup="android.permission-group.PERSONAL_INFO"
224        android:protectionLevel="dangerous"
225        android:label="@string/permlab_readProfile"
226        android:description="@string/permdesc_readProfile" />
227
228    <!-- Allows an application to write (but not read) the user's
229         personal profile data. -->
230    <permission android:name="android.permission.WRITE_PROFILE"
231        android:permissionGroup="android.permission-group.PERSONAL_INFO"
232        android:protectionLevel="dangerous"
233        android:label="@string/permlab_writeProfile"
234        android:description="@string/permdesc_writeProfile" />
235
236    <!-- Allows an application to read the user's calendar data. -->
237    <permission android:name="android.permission.READ_CALENDAR"
238        android:permissionGroup="android.permission-group.PERSONAL_INFO"
239        android:protectionLevel="dangerous"
240        android:label="@string/permlab_readCalendar"
241        android:description="@string/permdesc_readCalendar" />
242
243    <!-- Allows an application to write (but not read) the user's
244         calendar data. -->
245    <permission android:name="android.permission.WRITE_CALENDAR"
246        android:permissionGroup="android.permission-group.PERSONAL_INFO"
247        android:protectionLevel="dangerous"
248        android:label="@string/permlab_writeCalendar"
249        android:description="@string/permdesc_writeCalendar" />
250
251    <!-- Allows an application to read the user dictionary. This should
252         really only be required by an IME, or a dictionary editor like
253         the Settings app.
254         @hide Pending API council approval -->
255    <permission android:name="android.permission.READ_USER_DICTIONARY"
256        android:permissionGroup="android.permission-group.PERSONAL_INFO"
257        android:protectionLevel="dangerous"
258        android:label="@string/permlab_readDictionary"
259        android:description="@string/permdesc_readDictionary" />
260
261    <!-- Allows an application to write to the user dictionary.
262         @hide Pending API council approval -->
263    <permission android:name="android.permission.WRITE_USER_DICTIONARY"
264        android:permissionGroup="android.permission-group.PERSONAL_INFO"
265        android:protectionLevel="normal"
266        android:label="@string/permlab_writeDictionary"
267        android:description="@string/permdesc_writeDictionary" />
268
269    <!-- Allows an application to read (but not write) the user's
270        browsing history and bookmarks. -->
271    <permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
272        android:permissionGroup="android.permission-group.PERSONAL_INFO"
273        android:label="@string/permlab_readHistoryBookmarks"
274        android:description="@string/permdesc_readHistoryBookmarks"
275        android:protectionLevel="dangerous" />
276
277    <!-- Allows an application to write (but not read) the user's
278        browsing history and bookmarks. -->
279    <permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
280        android:permissionGroup="android.permission-group.PERSONAL_INFO"
281        android:label="@string/permlab_writeHistoryBookmarks"
282        android:description="@string/permdesc_writeHistoryBookmarks"
283        android:protectionLevel="dangerous" />
284
285    <!-- Allows an application to broadcast an Intent to set an alarm for the
286         user. -->
287    <permission android:name="com.android.alarm.permission.SET_ALARM"
288        android:permissionGroup="android.permission-group.PERSONAL_INFO"
289        android:label="@string/permlab_setAlarm"
290        android:description="@string/permdesc_setAlarm"
291        android:protectionLevel="normal" />
292
293    <!-- ======================================= -->
294    <!-- Permissions for accessing location info -->
295    <!-- ======================================= -->
296    <eat-comment />
297
298    <!-- Used for permissions that allow access to the user's current
299         location. -->
300    <permission-group android:name="android.permission-group.LOCATION"
301        android:label="@string/permgrouplab_location"
302        android:description="@string/permgroupdesc_location" />
303
304    <!-- Allows an application to access fine (e.g., GPS) location -->
305    <permission android:name="android.permission.ACCESS_FINE_LOCATION"
306        android:permissionGroup="android.permission-group.LOCATION"
307        android:protectionLevel="dangerous"
308        android:label="@string/permlab_accessFineLocation"
309        android:description="@string/permdesc_accessFineLocation" />
310
311    <!-- Allows an application to access coarse (e.g., Cell-ID, WiFi) location -->
312    <permission android:name="android.permission.ACCESS_COARSE_LOCATION"
313        android:permissionGroup="android.permission-group.LOCATION"
314        android:protectionLevel="dangerous"
315        android:label="@string/permlab_accessCoarseLocation"
316        android:description="@string/permdesc_accessCoarseLocation" />
317
318    <!-- Allows an application to create mock location providers for testing -->
319    <permission android:name="android.permission.ACCESS_MOCK_LOCATION"
320        android:permissionGroup="android.permission-group.LOCATION"
321        android:protectionLevel="dangerous"
322        android:label="@string/permlab_accessMockLocation"
323        android:description="@string/permdesc_accessMockLocation" />
324
325    <!-- Allows an application to access extra location provider commands -->
326    <permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
327        android:permissionGroup="android.permission-group.LOCATION"
328        android:protectionLevel="normal"
329        android:label="@string/permlab_accessLocationExtraCommands"
330        android:description="@string/permdesc_accessLocationExtraCommands" />
331
332    <!-- Allows an application to install a location provider into the Location Manager -->
333    <permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
334        android:protectionLevel="signatureOrSystem"
335        android:label="@string/permlab_installLocationProvider"
336        android:description="@string/permdesc_installLocationProvider" />
337
338    <!-- ======================================= -->
339    <!-- Permissions for accessing networks -->
340    <!-- ======================================= -->
341    <eat-comment />
342
343    <!-- Used for permissions that provide access to networking services.  The
344         main permission here is internet access, but this is also an
345         appropriate group for accessing or modifying any network configuration
346         or other related network operations. -->
347    <permission-group android:name="android.permission-group.NETWORK"
348        android:label="@string/permgrouplab_network"
349        android:description="@string/permgroupdesc_network" />
350
351    <!-- Allows applications to open network sockets. -->
352    <permission android:name="android.permission.INTERNET"
353        android:permissionGroup="android.permission-group.NETWORK"
354        android:protectionLevel="dangerous"
355        android:description="@string/permdesc_createNetworkSockets"
356        android:label="@string/permlab_createNetworkSockets" />
357
358    <!-- Allows applications to access information about networks -->
359    <permission android:name="android.permission.ACCESS_NETWORK_STATE"
360        android:permissionGroup="android.permission-group.NETWORK"
361        android:protectionLevel="normal"
362        android:description="@string/permdesc_accessNetworkState"
363        android:label="@string/permlab_accessNetworkState" />
364
365    <!-- Allows applications to access information about Wi-Fi networks -->
366    <permission android:name="android.permission.ACCESS_WIFI_STATE"
367        android:permissionGroup="android.permission-group.NETWORK"
368        android:protectionLevel="normal"
369        android:description="@string/permdesc_accessWifiState"
370        android:label="@string/permlab_accessWifiState" />
371
372    <!-- Allows applications to connect to paired bluetooth devices -->
373    <permission android:name="android.permission.BLUETOOTH"
374        android:permissionGroup="android.permission-group.NETWORK"
375        android:protectionLevel="dangerous"
376        android:description="@string/permdesc_bluetooth"
377        android:label="@string/permlab_bluetooth" />
378
379    <!-- Allows applications to perform I/O operations over NFC -->
380    <permission android:name="android.permission.NFC"
381        android:permissionGroup="android.permission-group.NETWORK"
382        android:protectionLevel="dangerous"
383        android:description="@string/permdesc_nfc"
384        android:label="@string/permlab_nfc" />
385
386    <!-- Allows applications to provide VPN functionality.
387         @hide Pending API council approval -->
388    <permission android:name="android.permission.VPN"
389        android:permissionGroup="android.permission-group.NETWORK"
390        android:protectionLevel="dangerous"
391        android:description="@string/permdesc_vpn"
392        android:label="@string/permlab_vpn" />
393
394    <!-- Allows an application to use SIP service -->
395    <permission android:name="android.permission.USE_SIP"
396        android:permissionGroup="android.permission-group.NETWORK"
397        android:protectionLevel="dangerous"
398        android:description="@string/permdesc_use_sip"
399        android:label="@string/permlab_use_sip" />
400
401    <!-- Allows applications to call into AccountAuthenticators. Only
402    the system can get this permission. -->
403    <permission android:name="android.permission.ACCOUNT_MANAGER"
404        android:permissionGroup="android.permission-group.ACCOUNTS"
405        android:protectionLevel="signature"
406        android:description="@string/permdesc_accountManagerService"
407        android:label="@string/permlab_accountManagerService" />
408
409    <!-- Allows an internal user to use privaledged ConnectivityManager
410    APIs.
411        @hide -->
412    <permission android:name="android.permission.CONNECTIVITY_INTERNAL"
413        android:permissionGroup="android.permission-group.NETWORK"
414        android:protectionLevel="signatureOrSystem" />
415
416    <!-- ================================== -->
417    <!-- Permissions for accessing accounts -->
418    <!-- ================================== -->
419    <eat-comment />
420
421    <!-- Permissions for direct access to the accounts managed
422         by the Account Manager. -->
423    <permission-group android:name="android.permission-group.ACCOUNTS"
424        android:label="@string/permgrouplab_accounts"
425        android:description="@string/permgroupdesc_accounts" />
426
427    <!-- Allows access to the list of accounts in the Accounts Service -->
428    <permission android:name="android.permission.GET_ACCOUNTS"
429        android:permissionGroup="android.permission-group.ACCOUNTS"
430        android:protectionLevel="normal"
431        android:description="@string/permdesc_getAccounts"
432        android:label="@string/permlab_getAccounts" />
433
434    <!-- Allows an application to act as an AccountAuthenticator for
435         the AccountManager -->
436    <permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
437        android:permissionGroup="android.permission-group.ACCOUNTS"
438        android:protectionLevel="dangerous"
439        android:label="@string/permlab_authenticateAccounts"
440        android:description="@string/permdesc_authenticateAccounts" />
441
442    <!-- Allows an application to request authtokens from the AccountManager -->
443    <permission android:name="android.permission.USE_CREDENTIALS"
444        android:permissionGroup="android.permission-group.ACCOUNTS"
445        android:protectionLevel="dangerous"
446        android:label="@string/permlab_useCredentials"
447        android:description="@string/permdesc_useCredentials" />
448
449    <!-- Allows an application to manage the list of accounts in the AccountManager -->
450    <permission android:name="android.permission.MANAGE_ACCOUNTS"
451        android:permissionGroup="android.permission-group.ACCOUNTS"
452        android:protectionLevel="dangerous"
453        android:label="@string/permlab_manageAccounts"
454        android:description="@string/permdesc_manageAccounts" />
455
456    <!-- ================================== -->
457    <!-- Permissions for accessing hardware -->
458    <!-- ================================== -->
459    <eat-comment />
460
461    <!-- Used for permissions that provide direct access to the hardware on
462         the device.  This includes audio, the camera, vibrator, etc. -->
463    <permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
464        android:label="@string/permgrouplab_hardwareControls"
465        android:description="@string/permgroupdesc_hardwareControls" />
466
467    <!-- Allows an application to modify global audio settings -->
468    <permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
469        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
470        android:protectionLevel="dangerous"
471        android:label="@string/permlab_modifyAudioSettings"
472        android:description="@string/permdesc_modifyAudioSettings" />
473
474    <!-- Allows an application to record audio -->
475    <permission android:name="android.permission.RECORD_AUDIO"
476        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
477        android:protectionLevel="dangerous"
478        android:label="@string/permlab_recordAudio"
479        android:description="@string/permdesc_recordAudio" />
480
481    <!-- Required to be able to access the camera device.
482         <p>This will automatically enforce the <a
483         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
484         &lt;uses-feature&gt;}</a> manifest element for <em>all</em> camera features.
485         If you do not require all camera features or can properly operate if a camera
486         is not available, then you must modify your manifest as appropriate in order to
487         install on devices that don't support all camera features.</p> -->
488    <permission android:name="android.permission.CAMERA"
489        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
490        android:protectionLevel="dangerous"
491        android:label="@string/permlab_camera"
492        android:description="@string/permdesc_camera" />
493
494    <!-- Allows access to the vibrator -->
495    <permission android:name="android.permission.VIBRATE"
496        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
497        android:protectionLevel="normal"
498        android:label="@string/permlab_vibrate"
499        android:description="@string/permdesc_vibrate" />
500
501    <!-- Allows access to the flashlight -->
502    <permission android:name="android.permission.FLASHLIGHT"
503        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
504        android:protectionLevel="normal"
505        android:label="@string/permlab_flashlight"
506        android:description="@string/permdesc_flashlight" />
507
508    <!-- Allows an application to manage preferences and permissions for USB devices
509         @hide -->
510    <permission android:name="android.permission.MANAGE_USB"
511        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
512        android:protectionLevel="signatureOrSystem"
513        android:label="@string/permlab_manageUsb"
514        android:description="@string/permdesc_manageUsb" />
515
516    <!-- Allows an application to access the MTP USB kernel driver.
517         For use only by the device side MTP implementation.
518         @hide -->
519    <permission android:name="android.permission.ACCESS_MTP"
520        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
521        android:protectionLevel="signatureOrSystem"
522        android:label="@string/permlab_accessMtp"
523        android:description="@string/permdesc_accessMtp" />
524
525    <!-- Allows access to hardware peripherals.  Intended only for hardware testing -->
526    <permission android:name="android.permission.HARDWARE_TEST"
527        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
528        android:protectionLevel="signature"
529        android:label="@string/permlab_hardware_test"
530        android:description="@string/permdesc_hardware_test" />
531
532    <!-- Allows access to configure network interfaces, configure/use IPSec, etc.
533         @hide -->
534    <permission android:name="android.permission.NET_ADMIN"
535        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
536        android:protectionLevel="signature" />
537
538    <!-- =========================================== -->
539    <!-- Permissions associated with telephony state -->
540    <!-- =========================================== -->
541    <eat-comment />
542
543    <!-- Used for permissions that are associated with accessing and modifyign
544         telephony state: intercepting outgoing calls, reading
545         and modifying the phone state.  Note that
546         placing phone calls is not in this group, since that is in the
547         more important "takin' yer moneys" group. -->
548    <permission-group android:name="android.permission-group.PHONE_CALLS"
549        android:label="@string/permgrouplab_phoneCalls"
550        android:description="@string/permgroupdesc_phoneCalls" />
551
552    <!-- Allows an application to monitor, modify, or abort outgoing
553         calls. -->
554    <permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
555        android:permissionGroup="android.permission-group.PHONE_CALLS"
556        android:protectionLevel="dangerous"
557        android:label="@string/permlab_processOutgoingCalls"
558        android:description="@string/permdesc_processOutgoingCalls" />
559
560    <!-- Allows modification of the telephony state - power on, mmi, etc.
561         Does not include placing calls. -->
562    <permission android:name="android.permission.MODIFY_PHONE_STATE"
563        android:permissionGroup="android.permission-group.PHONE_CALLS"
564        android:protectionLevel="signatureOrSystem"
565        android:label="@string/permlab_modifyPhoneState"
566        android:description="@string/permdesc_modifyPhoneState" />
567
568    <!-- Allows read only access to phone state. -->
569    <permission android:name="android.permission.READ_PHONE_STATE"
570        android:permissionGroup="android.permission-group.PHONE_CALLS"
571        android:protectionLevel="dangerous"
572        android:label="@string/permlab_readPhoneState"
573        android:description="@string/permdesc_readPhoneState" />
574
575    <!-- ================================== -->
576    <!-- Permissions for sdcard interaction -->
577    <!-- ================================== -->
578    <eat-comment />
579
580    <!-- Group of permissions that are related to SD card access. -->
581    <permission-group android:name="android.permission-group.STORAGE"
582        android:label="@string/permgrouplab_storage"
583        android:description="@string/permgroupdesc_storage" />
584
585    <!-- Allows an application to write to external storage -->
586    <permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
587        android:permissionGroup="android.permission-group.STORAGE"
588        android:label="@string/permlab_sdcardWrite"
589        android:description="@string/permdesc_sdcardWrite"
590        android:protectionLevel="dangerous" />
591
592    <!-- Allows an application to write to internal media storage
593         @hide  -->
594    <permission android:name="android.permission.WRITE_MEDIA_STORAGE"
595        android:permissionGroup="android.permission-group.STORAGE"
596        android:label="@string/permlab_mediaStorageWrite"
597        android:description="@string/permdesc_mediaStorageWrite"
598        android:protectionLevel="signatureOrSystem" />
599
600    <!-- ============================================ -->
601    <!-- Permissions for low-level system interaction -->
602    <!-- ============================================ -->
603    <eat-comment />
604
605    <!-- Group of permissions that are related to system APIs.  Many
606         of these are not permissions the user will be expected to understand,
607         and such permissions should generally be marked as "normal" protection
608         level so they don't get displayed.  This can also, however, be used
609         for miscellaneous features that provide access to the operating system,
610         such as writing the global system settings. -->
611    <permission-group android:name="android.permission-group.SYSTEM_TOOLS"
612        android:label="@string/permgrouplab_systemTools"
613        android:description="@string/permgroupdesc_systemTools" />
614
615    <!-- Allows an application to read or write the system settings. -->
616    <permission android:name="android.permission.WRITE_SETTINGS"
617        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
618        android:protectionLevel="dangerous"
619        android:label="@string/permlab_writeSettings"
620        android:description="@string/permdesc_writeSettings" />
621
622    <!-- Allows an application to read or write the secure system settings. -->
623    <permission android:name="android.permission.WRITE_SECURE_SETTINGS"
624        android:protectionLevel="signatureOrSystem"
625        android:label="@string/permlab_writeSecureSettings"
626        android:description="@string/permdesc_writeSecureSettings" />
627
628    <!-- Allows an application to modify the Google service map. -->
629    <permission android:name="android.permission.WRITE_GSERVICES"
630        android:protectionLevel="signatureOrSystem"
631        android:label="@string/permlab_writeGservices"
632        android:description="@string/permdesc_writeGservices" />
633
634    <!-- Allows an application to expand or collapse the status bar. -->
635    <permission android:name="android.permission.EXPAND_STATUS_BAR"
636        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
637        android:protectionLevel="normal"
638        android:label="@string/permlab_expandStatusBar"
639        android:description="@string/permdesc_expandStatusBar" />
640
641    <!-- Allows an application to get information about the currently
642         or recently running tasks: a thumbnail representation of the tasks,
643         what activities are running in it, etc. -->
644    <permission android:name="android.permission.GET_TASKS"
645        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
646        android:protectionLevel="dangerous"
647        android:label="@string/permlab_getTasks"
648        android:description="@string/permdesc_getTasks" />
649
650    <!-- Allows an application to change the Z-order of tasks -->
651    <permission android:name="android.permission.REORDER_TASKS"
652        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
653        android:protectionLevel="dangerous"
654        android:label="@string/permlab_reorderTasks"
655        android:description="@string/permdesc_reorderTasks" />
656
657    <!-- Allows an application to change to remove/kill tasks -->
658    <permission android:name="android.permission.REMOVE_TASKS"
659        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
660        android:protectionLevel="signature"
661        android:label="@string/permlab_removeTasks"
662        android:description="@string/permdesc_removeTasks" />
663
664    <!-- Allows an application to modify the current configuration, such
665         as locale. -->
666    <permission android:name="android.permission.CHANGE_CONFIGURATION"
667        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
668        android:protectionLevel="dangerous"
669        android:label="@string/permlab_changeConfiguration"
670        android:description="@string/permdesc_changeConfiguration" />
671
672    <!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
673        API is no longer supported. -->
674    <permission android:name="android.permission.RESTART_PACKAGES"
675        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
676        android:protectionLevel="normal"
677        android:label="@string/permlab_killBackgroundProcesses"
678        android:description="@string/permdesc_killBackgroundProcesses" />
679
680    <!-- Allows an application to call
681        {@link android.app.ActivityManager#killBackgroundProcesses}. -->
682    <permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
683        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
684        android:protectionLevel="normal"
685        android:label="@string/permlab_killBackgroundProcesses"
686        android:description="@string/permdesc_killBackgroundProcesses" />
687
688    <!-- Allows an application to call
689        {@link android.app.ActivityManager#forceStopPackage}.
690        @hide -->
691    <permission android:name="android.permission.FORCE_STOP_PACKAGES"
692        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
693        android:protectionLevel="signature"
694        android:label="@string/permlab_forceStopPackages"
695        android:description="@string/permdesc_forceStopPackages" />
696
697    <!-- Allows an application to retrieve state dump information from system
698         services. -->
699    <permission android:name="android.permission.DUMP"
700        android:permissionGroup="android.permission-group.PERSONAL_INFO"
701        android:protectionLevel="signatureOrSystem"
702        android:label="@string/permlab_dump"
703        android:description="@string/permdesc_dump" />
704
705    <!-- Allows an application to retrieve the content of the active window
706         An active window is the window that has fired an accessibility event. -->
707    <permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
708        android:permissionGroup="android.permission-group.PERSONAL_INFO"
709        android:protectionLevel="signatureOrSystem"
710        android:label="@string/permlab_retrieve_window_content"
711        android:description="@string/permdesc_retrieve_window_content" />
712
713    <!-- Allows an application to open windows using the type
714         {@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
715         shown on top of all other applications.  Very few applications
716         should use this permission; these windows are intended for
717         system-level interaction with the user. -->
718    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
719        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
720        android:protectionLevel="dangerous"
721        android:label="@string/permlab_systemAlertWindow"
722        android:description="@string/permdesc_systemAlertWindow" />
723
724    <!-- Modify the global animation scaling factor. -->
725    <permission android:name="android.permission.SET_ANIMATION_SCALE"
726        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
727        android:protectionLevel="dangerous"
728        android:label="@string/permlab_setAnimationScale"
729        android:description="@string/permdesc_setAnimationScale" />
730
731    <!-- @deprecated This functionality will be removed in the future; please do
732         not use.
733
734         Allow an application to make its activities persistent. -->
735    <permission android:name="android.permission.PERSISTENT_ACTIVITY"
736        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
737        android:protectionLevel="dangerous"
738        android:label="@string/permlab_persistentActivity"
739        android:description="@string/permdesc_persistentActivity" />
740
741    <!-- Allows an application to find out the space used by any package. -->
742    <permission android:name="android.permission.GET_PACKAGE_SIZE"
743        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
744        android:protectionLevel="normal"
745        android:label="@string/permlab_getPackageSize"
746        android:description="@string/permdesc_getPackageSize" />
747
748    <!-- @deprecated No longer useful, see
749         {@link android.content.pm.PackageManager#addPackageToPreferred}
750         for details. -->
751    <permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
752        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
753        android:protectionLevel="signature"
754        android:label="@string/permlab_setPreferredApplications"
755        android:description="@string/permdesc_setPreferredApplications" />
756
757    <!-- Allows an application to receive the
758         {@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
759         broadcast after the system finishes booting.  If you don't
760         request this permission, you will not receive the broadcast at
761         that time.  Though holding this permission does not have any
762         security implications, it can have a negative impact on the
763         user experience by increasing the amount of time it takes the
764         system to start and allowing applications to have themselves
765         running without the user being aware of them.  As such, you must
766         explicitly declare your use of this facility to make that visible
767         to the user. -->
768    <permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
769        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
770        android:protectionLevel="normal"
771        android:label="@string/permlab_receiveBootCompleted"
772        android:description="@string/permdesc_receiveBootCompleted" />
773
774    <!-- Allows an application to broadcast sticky intents.  These are
775         broadcasts whose data is held by the system after being finished,
776         so that clients can quickly retrieve that data without having
777         to wait for the next broadcast. -->
778    <permission android:name="android.permission.BROADCAST_STICKY"
779        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
780        android:protectionLevel="normal"
781        android:label="@string/permlab_broadcastSticky"
782        android:description="@string/permdesc_broadcastSticky" />
783
784    <!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
785         from dimming -->
786    <permission android:name="android.permission.WAKE_LOCK"
787        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
788        android:protectionLevel="dangerous"
789        android:label="@string/permlab_wakeLock"
790        android:description="@string/permdesc_wakeLock" />
791
792    <!-- Allows applications to set the wallpaper -->
793    <permission android:name="android.permission.SET_WALLPAPER"
794        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
795        android:protectionLevel="normal"
796        android:label="@string/permlab_setWallpaper"
797        android:description="@string/permdesc_setWallpaper" />
798
799    <!-- Allows applications to set the wallpaper hints -->
800    <permission android:name="android.permission.SET_WALLPAPER_HINTS"
801        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
802        android:protectionLevel="normal"
803        android:label="@string/permlab_setWallpaperHints"
804        android:description="@string/permdesc_setWallpaperHints" />
805
806    <!-- Allows applications to set the system time -->
807    <permission android:name="android.permission.SET_TIME"
808        android:protectionLevel="signatureOrSystem"
809        android:label="@string/permlab_setTime"
810        android:description="@string/permdesc_setTime" />
811
812    <!-- Allows applications to set the system time zone -->
813    <permission android:name="android.permission.SET_TIME_ZONE"
814        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
815        android:protectionLevel="dangerous"
816        android:label="@string/permlab_setTimeZone"
817        android:description="@string/permdesc_setTimeZone" />
818
819    <!-- Allows mounting and unmounting file systems for removable storage. -->
820    <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
821        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
822        android:protectionLevel="dangerous"
823        android:label="@string/permlab_mount_unmount_filesystems"
824        android:description="@string/permdesc_mount_unmount_filesystems" />
825
826    <!-- Allows formatting file systems for removable storage. -->
827    <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
828        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
829        android:protectionLevel="dangerous"
830        android:label="@string/permlab_mount_format_filesystems"
831        android:description="@string/permdesc_mount_format_filesystems" />
832
833    <!-- Allows access to ASEC non-destructive API calls
834         @hide  -->
835    <permission android:name="android.permission.ASEC_ACCESS"
836        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
837        android:protectionLevel="signature"
838        android:label="@string/permlab_asec_access"
839        android:description="@string/permdesc_asec_access" />
840
841    <!-- Allows creation of ASEC volumes
842         @hide  -->
843    <permission android:name="android.permission.ASEC_CREATE"
844        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
845        android:protectionLevel="signature"
846        android:label="@string/permlab_asec_create"
847        android:description="@string/permdesc_asec_create" />
848
849    <!-- Allows destruction of ASEC volumes
850         @hide  -->
851    <permission android:name="android.permission.ASEC_DESTROY"
852        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
853        android:protectionLevel="signature"
854        android:label="@string/permlab_asec_destroy"
855        android:description="@string/permdesc_asec_destroy" />
856
857    <!-- Allows mount / unmount of ASEC volumes
858         @hide  -->
859    <permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
860        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
861        android:protectionLevel="signature"
862        android:label="@string/permlab_asec_mount_unmount"
863        android:description="@string/permdesc_asec_mount_unmount" />
864
865    <!-- Allows rename of ASEC volumes
866         @hide  -->
867    <permission android:name="android.permission.ASEC_RENAME"
868        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
869        android:protectionLevel="signature"
870        android:label="@string/permlab_asec_rename"
871        android:description="@string/permdesc_asec_rename" />
872
873    <!-- Allows applications to disable the keyguard -->
874    <permission android:name="android.permission.DISABLE_KEYGUARD"
875        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
876        android:protectionLevel="dangerous"
877        android:description="@string/permdesc_disableKeyguard"
878        android:label="@string/permlab_disableKeyguard" />
879
880    <!-- Allows applications to read the sync settings -->
881    <permission android:name="android.permission.READ_SYNC_SETTINGS"
882        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
883        android:protectionLevel="normal"
884        android:description="@string/permdesc_readSyncSettings"
885        android:label="@string/permlab_readSyncSettings" />
886
887    <!-- Allows applications to write the sync settings -->
888    <permission android:name="android.permission.WRITE_SYNC_SETTINGS"
889        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
890        android:protectionLevel="dangerous"
891        android:description="@string/permdesc_writeSyncSettings"
892        android:label="@string/permlab_writeSyncSettings" />
893
894    <!-- Allows applications to read the sync stats -->
895    <permission android:name="android.permission.READ_SYNC_STATS"
896        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
897        android:protectionLevel="normal"
898        android:description="@string/permdesc_readSyncStats"
899        android:label="@string/permlab_readSyncStats" />
900
901    <!-- Allows applications to write the apn settings -->
902    <permission android:name="android.permission.WRITE_APN_SETTINGS"
903                android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
904                android:protectionLevel="dangerous"
905                android:description="@string/permdesc_writeApnSettings"
906                android:label="@string/permlab_writeApnSettings" />
907
908    <!-- Allows an application to allow access the subscribed feeds
909         ContentProvider. -->
910    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
911        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
912        android:label="@string/permlab_subscribedFeedsRead"
913        android:description="@string/permdesc_subscribedFeedsRead"
914        android:protectionLevel="normal" />
915    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
916        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
917        android:label="@string/permlab_subscribedFeedsWrite"
918        android:description="@string/permdesc_subscribedFeedsWrite"
919        android:protectionLevel="dangerous" />
920
921    <!-- Allows applications to change network connectivity state -->
922    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
923        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
924        android:protectionLevel="dangerous"
925        android:description="@string/permdesc_changeNetworkState"
926        android:label="@string/permlab_changeNetworkState" />
927
928    <!-- Allows applications to change Wi-Fi connectivity state -->
929    <permission android:name="android.permission.CHANGE_WIFI_STATE"
930        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
931        android:protectionLevel="dangerous"
932        android:description="@string/permdesc_changeWifiState"
933        android:label="@string/permlab_changeWifiState" />
934
935    <!-- Allows applications to enter Wi-Fi Multicast mode -->
936    <permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
937        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
938        android:protectionLevel="dangerous"
939        android:description="@string/permdesc_changeWifiMulticastState"
940        android:label="@string/permlab_changeWifiMulticastState" />
941
942    <!-- Allows applications to discover and pair bluetooth devices -->
943    <permission android:name="android.permission.BLUETOOTH_ADMIN"
944        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
945        android:protectionLevel="dangerous"
946        android:description="@string/permdesc_bluetoothAdmin"
947        android:label="@string/permlab_bluetoothAdmin" />
948
949    <!-- Allows an application to clear the caches of all installed
950         applications on the device.  -->
951    <permission android:name="android.permission.CLEAR_APP_CACHE"
952        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
953        android:protectionLevel="dangerous"
954        android:label="@string/permlab_clearAppCache"
955        android:description="@string/permdesc_clearAppCache" />
956
957    <!-- Allows an application to read the low-level system log files.
958         Log entries can contain the user's private information,
959         which is why this permission is 'dangerous'. -->
960    <permission android:name="android.permission.READ_LOGS"
961        android:permissionGroup="android.permission-group.PERSONAL_INFO"
962        android:protectionLevel="dangerous"
963        android:label="@string/permlab_readLogs"
964        android:description="@string/permdesc_readLogs" />
965
966    <!-- ========================================= -->
967    <!-- Permissions for special development tools -->
968    <!-- ========================================= -->
969    <eat-comment />
970
971    <!-- Group of permissions that are related to development features.  These
972         are not permissions that should appear in normal applications; they
973         protect APIs that are intended only to be used for development
974         purposes. -->
975    <permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
976        android:label="@string/permgrouplab_developmentTools"
977        android:description="@string/permgroupdesc_developmentTools" />
978
979    <!-- Configure an application for debugging. -->
980    <permission android:name="android.permission.SET_DEBUG_APP"
981        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
982        android:protectionLevel="dangerous"
983        android:label="@string/permlab_setDebugApp"
984        android:description="@string/permdesc_setDebugApp" />
985
986    <!-- Allows an application to set the maximum number of (not needed)
987         application processes that can be running. -->
988    <permission android:name="android.permission.SET_PROCESS_LIMIT"
989        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
990        android:protectionLevel="dangerous"
991        android:label="@string/permlab_setProcessLimit"
992        android:description="@string/permdesc_setProcessLimit" />
993
994    <!-- Allows an application to control whether activities are immediately
995         finished when put in the background. -->
996    <permission android:name="android.permission.SET_ALWAYS_FINISH"
997        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
998        android:protectionLevel="dangerous"
999        android:label="@string/permlab_setAlwaysFinish"
1000        android:description="@string/permdesc_setAlwaysFinish" />
1001
1002    <!-- Allow an application to request that a signal be sent to all persistent processes -->
1003    <permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
1004        android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
1005        android:protectionLevel="dangerous"
1006        android:label="@string/permlab_signalPersistentProcesses"
1007        android:description="@string/permdesc_signalPersistentProcesses" />
1008
1009    <!-- ==================================== -->
1010    <!-- Private (signature-only) permissions -->
1011    <!-- ==================================== -->
1012    <eat-comment />
1013
1014    <!-- Allows applications to RW to diagnostic resources. -->
1015    <permission android:name="android.permission.DIAGNOSTIC"
1016        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1017        android:protectionLevel="signature"
1018        android:description="@string/permdesc_diagnostic"
1019        android:label="@string/permlab_diagnostic" />
1020
1021    <!-- Allows an application to open, close, or disable the status bar
1022         and its icons. -->
1023    <permission android:name="android.permission.STATUS_BAR"
1024        android:label="@string/permlab_statusBar"
1025        android:description="@string/permdesc_statusBar"
1026        android:protectionLevel="signatureOrSystem" />
1027
1028    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
1029    @hide -->
1030    <permission android:name="android.permission.STATUS_BAR_SERVICE"
1031        android:label="@string/permlab_statusBarService"
1032        android:description="@string/permdesc_statusBarService"
1033        android:protectionLevel="signature" />
1034
1035    <!-- Allows an application to force a BACK operation on whatever is the
1036         top activity. -->
1037    <permission android:name="android.permission.FORCE_BACK"
1038        android:label="@string/permlab_forceBack"
1039        android:description="@string/permdesc_forceBack"
1040        android:protectionLevel="signature" />
1041
1042    <!-- Allows an application to update device statistics. Not for
1043         use by third party apps. -->
1044    <permission android:name="android.permission.UPDATE_DEVICE_STATS"
1045        android:label="@string/permlab_batteryStats"
1046        android:description="@string/permdesc_batteryStats"
1047        android:protectionLevel="signatureOrSystem" />
1048
1049    <!-- Allows an application to open windows that are for use by parts
1050         of the system user interface.  Not for use by third party apps. -->
1051    <permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
1052        android:label="@string/permlab_internalSystemWindow"
1053        android:description="@string/permdesc_internalSystemWindow"
1054        android:protectionLevel="signature" />
1055
1056    <!-- Allows an application to manage (create, destroy,
1057         Z-order) application tokens in the window manager.  This is only
1058         for use by the system. -->
1059    <permission android:name="android.permission.MANAGE_APP_TOKENS"
1060        android:label="@string/permlab_manageAppTokens"
1061        android:description="@string/permdesc_manageAppTokens"
1062        android:protectionLevel="signature" />
1063
1064    <!-- Allows an application to inject user events (keys, touch, trackball)
1065         into the event stream and deliver them to ANY window.  Without this
1066         permission, you can only deliver events to windows in your own process.
1067         Very few applications should need to use this permission. -->
1068    <permission android:name="android.permission.INJECT_EVENTS"
1069        android:label="@string/permlab_injectEvents"
1070        android:description="@string/permdesc_injectEvents"
1071        android:protectionLevel="signature" />
1072
1073    <!-- Allows an application to watch and control how activities are
1074         started globally in the system.  Only for is in debugging
1075         (usually the monkey command). -->
1076    <permission android:name="android.permission.SET_ACTIVITY_WATCHER"
1077        android:label="@string/permlab_runSetActivityWatcher"
1078        android:description="@string/permdesc_runSetActivityWatcher"
1079        android:protectionLevel="signature" />
1080
1081    <!-- Allows an application to call the activity manager shutdown() API
1082         to put the higher-level system there into a shutdown state.
1083         @hide -->
1084    <permission android:name="android.permission.SHUTDOWN"
1085        android:label="@string/permlab_shutdown"
1086        android:description="@string/permdesc_shutdown"
1087        android:protectionLevel="signatureOrSystem" />
1088
1089    <!-- Allows an application to tell the activity manager to temporarily
1090         stop application switches, putting it into a special mode that
1091         prevents applications from immediately switching away from some
1092         critical UI such as the home screen.
1093         @hide -->
1094    <permission android:name="android.permission.STOP_APP_SWITCHES"
1095        android:label="@string/permlab_stopAppSwitches"
1096        android:description="@string/permdesc_stopAppSwitches"
1097        android:protectionLevel="signatureOrSystem" />
1098
1099    <!-- Allows an application to retrieve the current state of keys and
1100         switches.  This is only for use by the system.-->
1101    <permission android:name="android.permission.READ_INPUT_STATE"
1102        android:label="@string/permlab_readInputState"
1103        android:description="@string/permdesc_readInputState"
1104        android:protectionLevel="signature" />
1105
1106    <!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
1107         to ensure that only the system can bind to it. -->
1108    <permission android:name="android.permission.BIND_INPUT_METHOD"
1109        android:label="@string/permlab_bindInputMethod"
1110        android:description="@string/permdesc_bindInputMethod"
1111        android:protectionLevel="signature" />
1112
1113    <!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
1114         to ensure that only the system can bind to it. -->
1115    <permission android:name="android.permission.BIND_WALLPAPER"
1116        android:label="@string/permlab_bindWallpaper"
1117        android:description="@string/permdesc_bindWallpaper"
1118        android:protectionLevel="signatureOrSystem" />
1119
1120    <!-- Must be required by device administration receiver, to ensure that only the
1121         system can interact with it. -->
1122    <permission android:name="android.permission.BIND_DEVICE_ADMIN"
1123        android:label="@string/permlab_bindDeviceAdmin"
1124        android:description="@string/permdesc_bindDeviceAdmin"
1125        android:protectionLevel="signature" />
1126
1127    <!-- Allows low-level access to setting the orientation (actually
1128         rotation) of the screen.  Not for use by normal applications. -->
1129    <permission android:name="android.permission.SET_ORIENTATION"
1130        android:label="@string/permlab_setOrientation"
1131        android:description="@string/permdesc_setOrientation"
1132        android:protectionLevel="signature" />
1133
1134    <!-- Allows low-level access to setting the pointer speed.
1135         Not for use by normal applications. -->
1136    <permission android:name="android.permission.SET_POINTER_SPEED"
1137        android:label="@string/permlab_setPointerSpeed"
1138        android:description="@string/permdesc_setPointerSpeed"
1139        android:protectionLevel="signature" />
1140
1141    <!-- Allows an application to install packages. -->
1142    <permission android:name="android.permission.INSTALL_PACKAGES"
1143        android:label="@string/permlab_installPackages"
1144        android:description="@string/permdesc_installPackages"
1145        android:protectionLevel="signatureOrSystem" />
1146
1147    <!-- Allows an application to clear user data -->
1148    <permission android:name="android.permission.CLEAR_APP_USER_DATA"
1149        android:label="@string/permlab_clearAppUserData"
1150        android:description="@string/permdesc_clearAppUserData"
1151        android:protectionLevel="signature" />
1152
1153    <!-- Allows an application to delete cache files. -->
1154    <permission android:name="android.permission.DELETE_CACHE_FILES"
1155        android:label="@string/permlab_deleteCacheFiles"
1156        android:description="@string/permdesc_deleteCacheFiles"
1157        android:protectionLevel="signatureOrSystem" />
1158
1159    <!-- Allows an application to delete packages. -->
1160    <permission android:name="android.permission.DELETE_PACKAGES"
1161        android:label="@string/permlab_deletePackages"
1162        android:description="@string/permdesc_deletePackages"
1163        android:protectionLevel="signatureOrSystem" />
1164
1165    <!-- Allows an application to move location of installed package.
1166         @hide -->
1167    <permission android:name="android.permission.MOVE_PACKAGE"
1168        android:label="@string/permlab_movePackage"
1169        android:description="@string/permdesc_movePackage"
1170        android:protectionLevel="signatureOrSystem" />
1171
1172    <!-- Allows an application to change whether an application component (other than its own) is
1173         enabled or not. -->
1174    <permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
1175        android:label="@string/permlab_changeComponentState"
1176        android:description="@string/permdesc_changeComponentState"
1177        android:protectionLevel="signatureOrSystem" />
1178
1179    <!-- Allows an application to use SurfaceFlinger's low level features -->
1180    <permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
1181        android:label="@string/permlab_accessSurfaceFlinger"
1182        android:description="@string/permdesc_accessSurfaceFlinger"
1183        android:protectionLevel="signature" />
1184
1185    <!-- Allows an application to take screen shots and more generally
1186         get access to the frame buffer data -->
1187    <permission android:name="android.permission.READ_FRAME_BUFFER"
1188        android:label="@string/permlab_readFrameBuffer"
1189        android:description="@string/permdesc_readFrameBuffer"
1190        android:protectionLevel="signature" />
1191
1192    <!-- Required to be able to disable the device (very dangerous!). -->
1193    <permission android:name="android.permission.BRICK"
1194        android:label="@string/permlab_brick"
1195        android:description="@string/permdesc_brick"
1196        android:protectionLevel="signature" />
1197
1198    <!-- Required to be able to reboot the device. -->
1199    <permission android:name="android.permission.REBOOT"
1200        android:label="@string/permlab_reboot"
1201        android:description="@string/permdesc_reboot"
1202        android:protectionLevel="signatureOrSystem" />
1203
1204   <!-- Allows low-level access to power management -->
1205    <permission android:name="android.permission.DEVICE_POWER"
1206        android:label="@string/permlab_devicePower"
1207        android:description="@string/permdesc_devicePower"
1208        android:protectionLevel="signature" />
1209
1210    <!-- Run as a manufacturer test application, running as the root user.
1211         Only available when the device is running in manufacturer test mode. -->
1212    <permission android:name="android.permission.FACTORY_TEST"
1213        android:label="@string/permlab_factoryTest"
1214        android:description="@string/permdesc_factoryTest"
1215        android:protectionLevel="signature" />
1216
1217    <!-- Allows an application to broadcast a notification that an application
1218         package has been removed. -->
1219    <permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
1220        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1221        android:label="@string/permlab_broadcastPackageRemoved"
1222        android:description="@string/permdesc_broadcastPackageRemoved"
1223        android:protectionLevel="signature" />
1224
1225    <!-- Allows an application to broadcast an SMS receipt notification -->
1226    <permission android:name="android.permission.BROADCAST_SMS"
1227        android:permissionGroup="android.permission-group.MESSAGES"
1228        android:label="@string/permlab_broadcastSmsReceived"
1229        android:description="@string/permdesc_broadcastSmsReceived"
1230        android:protectionLevel="signature" />
1231
1232    <!-- Allows an application to broadcast a WAP PUSH receipt notification -->
1233    <permission android:name="android.permission.BROADCAST_WAP_PUSH"
1234        android:permissionGroup="android.permission-group.MESSAGES"
1235        android:label="@string/permlab_broadcastWapPush"
1236        android:description="@string/permdesc_broadcastWapPush"
1237        android:protectionLevel="signature" />
1238
1239    <permission android:name="android.permission.MASTER_CLEAR"
1240        android:label="@string/permlab_masterClear"
1241        android:description="@string/permdesc_masterClear"
1242        android:protectionLevel="signatureOrSystem" />
1243
1244    <!-- Allows an application to call any phone number, including emergency
1245         numbers, without going through the Dialer user interface for the user
1246         to confirm the call being placed. -->
1247    <permission android:name="android.permission.CALL_PRIVILEGED"
1248        android:label="@string/permlab_callPrivileged"
1249        android:description="@string/permdesc_callPrivileged"
1250        android:protectionLevel="signatureOrSystem" />
1251
1252    <!-- Allows an application to perform CDMA OTA provisioning @hide -->
1253    <permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
1254        android:label="@string/permlab_performCdmaProvisioning"
1255        android:description="@string/permdesc_performCdmaProvisioning"
1256        android:protectionLevel="signatureOrSystem" />
1257
1258    <!-- Allows enabling/disabling location update notifications from
1259         the radio. Not for use by normal applications. -->
1260    <permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
1261        android:label="@string/permlab_locationUpdates"
1262        android:description="@string/permdesc_locationUpdates"
1263        android:protectionLevel="signatureOrSystem" />
1264
1265    <!-- Allows read/write access to the "properties" table in the checkin
1266         database, to change values that get uploaded. -->
1267    <permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
1268        android:label="@string/permlab_checkinProperties"
1269        android:description="@string/permdesc_checkinProperties"
1270        android:protectionLevel="signatureOrSystem" />
1271
1272    <!-- Allows an application to collect component usage
1273         statistics @hide -->
1274    <permission android:name="android.permission.PACKAGE_USAGE_STATS"
1275        android:label="@string/permlab_pkgUsageStats"
1276        android:description="@string/permdesc_pkgUsageStats"
1277        android:protectionLevel="signatureOrSystem" />
1278
1279    <!-- Allows an application to collect battery statistics -->
1280    <permission android:name="android.permission.BATTERY_STATS"
1281        android:label="@string/permlab_batteryStats"
1282        android:description="@string/permdesc_batteryStats"
1283        android:protectionLevel="normal" />
1284
1285    <!-- Allows an application to control the backup and restore process
1286         @hide pending API council -->
1287    <permission android:name="android.permission.BACKUP"
1288        android:label="@string/permlab_backup"
1289        android:description="@string/permdesc_backup"
1290        android:protectionLevel="signatureOrSystem" />
1291
1292    <!-- Allows a package to launch the secure full-backup confirmation UI.
1293         ONLY the system process may hold this permission.
1294         @hide -->
1295    <permission android:name="android.permission.CONFIRM_FULL_BACKUP"
1296        android:label="@string/permlab_confirm_full_backup"
1297        android:description="@string/permdesc_confirm_full_backup"
1298        android:protectionLevel="signature" />
1299
1300    <!-- Must be required by a {@link android.widget.RemoteViewsService},
1301         to ensure that only the system can bind to it. -->
1302    <permission android:name="android.permission.BIND_REMOTEVIEWS"
1303        android:label="@string/permlab_bindRemoteViews"
1304        android:description="@string/permdesc_bindRemoteViews"
1305        android:protectionLevel="signatureOrSystem" />
1306
1307    <!-- Allows an application to tell the AppWidget service which application
1308         can access AppWidget's data.  The normal user flow is that a user
1309         picks an AppWidget to go into a particular host, thereby giving that
1310         host application access to the private data from the AppWidget app.
1311         An application that has this permission should honor that contract.
1312         Very few applications should need to use this permission. -->
1313    <permission android:name="android.permission.BIND_APPWIDGET"
1314        android:permissionGroup="android.permission-group.PERSONAL_INFO"
1315        android:label="@string/permlab_bindGadget"
1316        android:description="@string/permdesc_bindGadget"
1317        android:protectionLevel="signatureOrSystem" />
1318
1319    <!-- Allows applications to change the background data setting
1320         @hide pending API council -->
1321    <permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
1322        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1323        android:protectionLevel="signature"
1324        android:description="@string/permdesc_changeBackgroundDataSetting"
1325        android:label="@string/permlab_changeBackgroundDataSetting" />
1326
1327    <!-- This permission can be used on content providers to allow the global
1328         search system to access their data.  Typically it used when the
1329         provider has some permissions protecting it (which global search
1330         would not be expected to hold), and added as a read-only permission
1331         to the path in the provider where global search queries are
1332         performed.  This permission can not be held by regular applications;
1333         it is used by applications to protect themselves from everyone else
1334         besides global search. -->
1335    <permission android:name="android.permission.GLOBAL_SEARCH"
1336        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1337        android:protectionLevel="signatureOrSystem" />
1338
1339    <!-- Internal permission protecting access to the global search
1340         system: ensures that only the system can access the provider
1341         to perform queries (since this otherwise provides unrestricted
1342         access to a variety of content providers), and to write the
1343         search statistics (to keep applications from gaming the source
1344         ranking).
1345         @hide -->
1346    <permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
1347        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1348        android:protectionLevel="signature" />
1349
1350    <!-- Allows applications to set a live wallpaper.
1351         @hide XXX Change to signature once the picker is moved to its
1352         own apk as Ghod Intended. -->
1353    <permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
1354        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
1355        android:protectionLevel="signatureOrSystem" />
1356
1357    <!-- Allow an application to read and write the cache partition.
1358         @hide -->
1359    <permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
1360        android:label="@string/permlab_cache_filesystem"
1361        android:description="@string/permdesc_cache_filesystem"
1362        android:protectionLevel="signatureOrSystem" />
1363
1364    <!-- Must be required by default container service so that only
1365         the system can bind to it and use it to copy
1366         protected data to secure containers or files
1367         accessible to the system.
1368         @hide -->
1369    <permission android:name="android.permission.COPY_PROTECTED_DATA"
1370        android:label="@string/permlab_copyProtectedData"
1371        android:description="@string/permlab_copyProtectedData"
1372        android:protectionLevel="signature" />
1373
1374    <!-- Internal permission protecting access to the encryption methods
1375        @hide
1376    -->
1377    <permission android:name="android.permission.CRYPT_KEEPER"
1378        android:protectionLevel="signatureOrSystem" />
1379
1380    <!-- Allows an application to read historical network usage for
1381         specific networks and applications. @hide -->
1382    <permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
1383        android:label="@string/permlab_readNetworkUsageHistory"
1384        android:description="@string/permdesc_readNetworkUsageHistory"
1385        android:protectionLevel="signature" />
1386
1387    <!-- Allows an application to manage network policies (such as warning and disable
1388         limits) and to define application-specific rules. @hide -->
1389    <permission android:name="android.permission.MANAGE_NETWORK_POLICY"
1390        android:label="@string/permlab_manageNetworkPolicy"
1391        android:description="@string/permdesc_manageNetworkPolicy"
1392        android:protectionLevel="signature" />
1393
1394    <!-- C2DM permission. 
1395         @hide Used internally.
1396     -->
1397    <permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
1398          android:protectionLevel="signature" />
1399    <uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
1400
1401    <!-- The system process is explicitly the only one allowed to launch the
1402         confirmation UI for full backup/restore -->
1403    <uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
1404
1405    <application android:process="system"
1406                 android:persistent="true"
1407                 android:hasCode="false"
1408                 android:label="@string/android_system_label"
1409                 android:allowClearUserData="false"
1410                 android:backupAgent="com.android.server.SystemBackupAgent"
1411                 android:fullBackupAgent="com.android.server.SystemBackupAgent"
1412                 android:killAfterRestore="false"
1413                 android:icon="@drawable/ic_launcher_android">
1414        <activity android:name="com.android.internal.app.ChooserActivity"
1415                android:theme="@style/Theme.Holo.Dialog.Alert"
1416                android:finishOnCloseSystemDialogs="true"
1417                android:excludeFromRecents="true"
1418                android:multiprocess="true">
1419            <intent-filter>
1420                <action android:name="android.intent.action.CHOOSER" />
1421                <category android:name="android.intent.category.DEFAULT" />
1422            </intent-filter>
1423        </activity>
1424        <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
1425                android:theme="@style/Theme.Holo.Dialog"
1426                android:label="@string/heavy_weight_switcher_title"
1427                android:finishOnCloseSystemDialogs="true"
1428                android:excludeFromRecents="true">
1429        </activity>
1430        <activity android:name="com.android.internal.app.PlatLogoActivity"
1431                android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen">
1432        </activity>
1433        <activity android:name="com.android.internal.app.DisableCarModeActivity"
1434                android:theme="@style/Theme.NoDisplay"
1435                android:excludeFromRecents="true">
1436        </activity>
1437        <activity android:name="com.android.internal.app.RingtonePickerActivity"
1438                android:theme="@style/Theme.Holo.Dialog.Alert"
1439                android:excludeFromRecents="true"
1440                android:multiprocess="true">
1441            <intent-filter>
1442                <action android:name="android.intent.action.RINGTONE_PICKER" />
1443                <category android:name="android.intent.category.DEFAULT" />
1444            </intent-filter>
1445        </activity>
1446
1447        <activity android:name="android.accounts.ChooseAccountActivity"
1448                android:excludeFromRecents="true"
1449                android:exported="true"
1450                android:theme="@android:style/Theme.Holo.Dialog"
1451                android:label="@string/choose_account_label">
1452        </activity>
1453
1454        <activity android:name="android.accounts.GrantCredentialsPermissionActivity"
1455                android:excludeFromRecents="true"
1456                android:exported="true"
1457                android:theme="@android:style/Theme.Holo.DialogWhenLarge">
1458        </activity>
1459
1460        <activity android:name="android.content.SyncActivityTooManyDeletes"
1461               android:theme="@android:style/Theme.Holo.Dialog"
1462               android:label="@string/sync_too_many_deletes">
1463        </activity>
1464
1465        <activity android:name="com.android.server.ShutdownActivity"
1466            android:permission="android.permission.SHUTDOWN"
1467            android:excludeFromRecents="true">
1468            <intent-filter>
1469                <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
1470                <category android:name="android.intent.category.DEFAULT" />
1471            </intent-filter>
1472            <intent-filter>
1473                <action android:name="android.intent.action.REBOOT" />
1474                <category android:name="android.intent.category.DEFAULT" />
1475            </intent-filter>
1476        </activity>
1477
1478        <activity android:name="com.android.internal.app.NetInitiatedActivity"
1479                android:theme="@style/Theme.Holo.Dialog.Alert"
1480                android:excludeFromRecents="true">
1481        </activity>
1482
1483        <service android:name="com.android.server.LoadAverageService"
1484                android:exported="true" />
1485
1486        <service android:name="com.android.internal.service.wallpaper.ImageWallpaper"
1487                android:permission="android.permission.BIND_WALLPAPER">
1488        </service>
1489
1490        <receiver android:name="com.android.server.BootReceiver" >
1491            <intent-filter>
1492                <action android:name="android.intent.action.BOOT_COMPLETED" />
1493            </intent-filter>
1494        </receiver>
1495
1496        <receiver android:name="com.android.server.MasterClearReceiver"
1497            android:permission="android.permission.MASTER_CLEAR"
1498            android:priority="100" >
1499            <intent-filter>
1500                <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
1501                <action android:name="android.intent.action.MASTER_CLEAR" />
1502
1503                <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
1504                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
1505                <category android:name="android.intent.category.MASTER_CLEAR" />
1506            </intent-filter>
1507        </receiver>
1508
1509        <service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
1510            android:permission="android.permission.MASTER_CLEAR"
1511            android:exported="true" />
1512
1513    </application>
1514
1515</manifest>
1516