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