2009-03-03 19:31:44 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/* //device/apps/common/AndroidManifest.xml
|
|
|
|
**
|
|
|
|
** Copyright 2006, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-09-12 12:29:43 -07:00
|
|
|
package="android" coreApp="true" android:sharedUserId="android.uid.system"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:sharedUserLabel="@string/android_system_label">
|
|
|
|
|
2009-07-09 18:14:31 -07:00
|
|
|
<!-- ================================================ -->
|
|
|
|
<!-- Special broadcasts that only the system can send -->
|
|
|
|
<!-- ================================================ -->
|
|
|
|
<eat-comment />
|
2009-07-16 16:36:38 -07:00
|
|
|
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.SCREEN_OFF" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.SCREEN_ON" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_PRESENT" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.TIME_TICK" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.TIMEZONE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_INSTALL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_ADDED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_REPLACED" />
|
2011-02-24 14:40:20 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_REMOVED" />
|
2011-08-10 15:00:59 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_RESTARTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
|
2011-02-24 14:40:20 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_FIRST_LAUNCH" />
|
2011-07-27 11:11:19 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_NEEDS_VERIFICATION" />
|
2012-08-29 14:49:51 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PACKAGE_VERIFIED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.UID_REMOVED" />
|
2012-09-21 10:57:45 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.QUERY_PACKAGE_RESTART" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.CONFIGURATION_CHANGED" />
|
2009-11-11 18:04:39 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.LOCALE_CHANGED" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.BATTERY_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.BATTERY_LOW" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.BATTERY_OKAY" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_POWER_CONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_SHUTDOWN" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_LOW" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_OK" />
|
2010-08-23 18:16:48 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_FULL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DEVICE_STORAGE_NOT_FULL" />
|
2009-07-09 18:14:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.NEW_OUTGOING_CALL" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.REBOOT" />
|
2010-03-04 18:41:49 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.DOCK_EVENT" />
|
2011-03-14 15:23:31 -05:00
|
|
|
<protected-broadcast android:name="android.intent.action.MASTER_CLEAR_NOTIFICATION" />
|
2012-03-22 16:16:17 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_ADDED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_REMOVED" />
|
2012-08-27 19:18:31 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_STOPPED" />
|
2012-09-15 19:33:48 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_BACKGROUND" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USER_FOREGROUND" />
|
2012-03-22 16:16:17 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.USER_SWITCHED" />
|
2009-07-16 16:36:38 -07:00
|
|
|
|
2010-03-04 18:41:49 -08:00
|
|
|
<protected-broadcast android:name="android.app.action.ENTER_CAR_MODE" />
|
|
|
|
<protected-broadcast android:name="android.app.action.EXIT_CAR_MODE" />
|
|
|
|
<protected-broadcast android:name="android.app.action.ENTER_DESK_MODE" />
|
|
|
|
<protected-broadcast android:name="android.app.action.EXIT_DESK_MODE" />
|
2011-08-04 14:12:58 +01:00
|
|
|
|
2013-03-25 17:49:36 -07:00
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_UPDATE_OPTIONS" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_DISABLED" />
|
|
|
|
<protected-broadcast android:name="android.appwidget.action.APPWIDGET_ENABLED" />
|
|
|
|
|
2009-09-21 19:36:51 -07:00
|
|
|
<protected-broadcast android:name="android.backup.intent.RUN" />
|
|
|
|
<protected-broadcast android:name="android.backup.intent.CLEAR" />
|
|
|
|
<protected-broadcast android:name="android.backup.intent.INIT" />
|
|
|
|
|
2009-09-15 17:21:10 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.SCAN_MODE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.LOCAL_NAME_CHANGED" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED" />
|
2009-09-15 17:21:10 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.FOUND" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.DISAPPEARED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.CLASS_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ACL_CONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.NAME_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.NAME_FAILED" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.PAIRING_REQUEST" />
|
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.PAIRING_CANCEL" />
|
2011-09-06 13:03:50 -07:00
|
|
|
<protected-broadcast android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
|
|
|
|
<protected-broadcast
|
|
|
|
android:name="android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED" />
|
2009-09-15 17:21:10 -07:00
|
|
|
|
2012-09-07 20:36:36 -07:00
|
|
|
<protected-broadcast android:name="android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED" />
|
|
|
|
|
2011-03-01 08:04:54 -08:00
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_STATE" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
|
|
|
|
<protected-broadcast android:name="android.hardware.usb.action.USB_DEVICE_DETACHED" />
|
2010-06-23 17:36:36 -04:00
|
|
|
|
2012-04-26 11:23:48 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.HEADSET_PLUG" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ANALOG_AUDIO_DOCK_PLUG" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DIGITAL_AUDIO_DOCK_PLUG" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.HDMI_AUDIO_PLUG" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USB_AUDIO_ACCESSORY_PLUG" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.USB_AUDIO_DEVICE_PLUG" />
|
|
|
|
|
2011-08-29 16:02:57 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE" />
|
2012-06-20 14:29:57 -07:00
|
|
|
<protected-broadcast android:name="android.net.conn.DATA_ACTIVITY_CHANGE" />
|
2013-02-12 10:03:14 -08:00
|
|
|
<protected-broadcast android:name="android.net.conn.CAPTIVE_PORTAL_TEST_COMPLETED" />
|
2011-08-29 16:02:57 -07:00
|
|
|
|
2010-10-14 19:16:35 -07:00
|
|
|
<protected-broadcast android:name="android.nfc.action.LLCP_LINK_STATE_CHANGED" />
|
2011-03-08 11:43:30 -08:00
|
|
|
<protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_ON_DETECTED" />
|
|
|
|
<protected-broadcast android:name="com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED" />
|
|
|
|
<protected-broadcast android:name="com.android.nfc_extras.action.AID_SELECTED" />
|
2010-09-23 16:12:11 -07:00
|
|
|
|
2010-10-14 19:16:35 -07:00
|
|
|
<protected-broadcast android:name="android.nfc.action.TRANSACTION_DETECTED" />
|
2010-11-02 14:08:23 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.CLEAR_DNS_CACHE" />
|
2010-10-11 16:00:27 -07:00
|
|
|
<protected-broadcast android:name="android.intent.action.PROXY_CHANGE" />
|
2010-09-23 16:12:11 -07:00
|
|
|
|
2012-02-23 14:59:36 -08:00
|
|
|
<protected-broadcast android:name="android.os.UpdateLock.UPDATE_LOCK_CHANGED" />
|
2011-03-14 10:28:11 -07:00
|
|
|
|
2012-08-25 12:08:03 -04:00
|
|
|
<protected-broadcast android:name="android.intent.action.DREAMING_STARTED" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.DREAMING_STOPPED" />
|
2012-11-28 16:42:32 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
|
|
|
|
|
|
|
|
<protected-broadcast android:name="com.android.server.WifiManager.action.START_SCAN" />
|
|
|
|
<protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.LINK_CONFIGURATION_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.supplicant.STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.THIS_DEVICE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.PEERS_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.CONNECTION_STATE_CHANGE" />
|
|
|
|
<protected-broadcast android:name="android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.conn.TETHER_STATE_CHANGED" />
|
|
|
|
<protected-broadcast android:name="android.net.conn.INET_CONDITION_ACTION" />
|
2012-12-06 15:22:11 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.AIRPLANE_MODE" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ADVANCED_SETTINGS" />
|
2013-03-08 16:13:15 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.BUGREPORT_FINISHED" />
|
2012-08-25 12:08:03 -04:00
|
|
|
|
2013-02-13 14:39:30 -08:00
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_START" />
|
|
|
|
<protected-broadcast android:name="android.intent.action.ACTION_IDLE_MAINTENANCE_END" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ====================================== -->
|
|
|
|
<!-- Permissions for things that cost money -->
|
|
|
|
<!-- ====================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Used for permissions that can be used to make the user spend money
|
2012-09-13 00:24:38 -07:00
|
|
|
without their direct involvement. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission-group android:name="android.permission-group.COST_MONEY"
|
|
|
|
android:label="@string/permgrouplab_costMoney"
|
|
|
|
android:description="@string/permgroupdesc_costMoney" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for accessing messages -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that allow an application to send messages
|
|
|
|
on behalf of the user or intercept messages being received by the
|
|
|
|
user. This is primarily intended for SMS/MMS messaging, such as
|
|
|
|
receiving or reading an MMS. -->
|
|
|
|
<permission-group android:name="android.permission-group.MESSAGES"
|
|
|
|
android:label="@string/permgrouplab_messages"
|
|
|
|
android:icon="@drawable/perm_group_messages"
|
|
|
|
android:description="@string/permgroupdesc_messages"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="360"/>
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-03-26 09:04:12 -07:00
|
|
|
<!-- Allows an application to send SMS messages. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SEND_SMS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionFlags="costsMoney"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_sendSms"
|
|
|
|
android:description="@string/permdesc_sendSms" />
|
|
|
|
|
2012-03-26 09:04:12 -07:00
|
|
|
<!-- Allows an application (Phone) to send a request to other applications
|
|
|
|
to handle the respond-via-message action during incoming calls. -->
|
|
|
|
<permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2012-03-26 09:04:12 -07:00
|
|
|
android:label="@string/permlab_sendRespondViaMessageRequest"
|
|
|
|
android:description="@string/permdesc_sendRespondViaMessageRequest" />
|
2011-08-11 14:27:25 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to monitor incoming SMS messages, to record
|
|
|
|
or perform processing on them. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_SMS"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_receiveSms"
|
|
|
|
android:description="@string/permdesc_receiveSms" />
|
|
|
|
|
|
|
|
<!-- Allows an application to monitor incoming MMS messages, to record
|
|
|
|
or perform processing on them. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_MMS"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_receiveMms"
|
|
|
|
android:description="@string/permdesc_receiveMms" />
|
|
|
|
|
2011-04-26 16:26:46 -07:00
|
|
|
<!-- Allows an application to receive emergency cell broadcast messages,
|
|
|
|
to record or display them to the user. Reserved for system apps.
|
|
|
|
@hide Pending API council approval -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2011-04-26 16:26:46 -07:00
|
|
|
android:label="@string/permlab_receiveEmergencyBroadcast"
|
|
|
|
android:description="@string/permdesc_receiveEmergencyBroadcast" />
|
|
|
|
|
2012-04-18 12:32:18 -07:00
|
|
|
<!-- Allows an application to read previously received cell broadcast
|
|
|
|
messages and to register a content observer to get notifications when
|
|
|
|
a cell broadcast has been received and added to the database. For
|
|
|
|
emergency alerts, the database is updated immediately after the
|
|
|
|
alert dialog and notification sound/vibration/speech are presented.
|
|
|
|
The "read" column is then updated after the user dismisses the alert.
|
|
|
|
This enables supplementary emergency assistance apps to start loading
|
|
|
|
additional emergency information (if Internet access is available)
|
|
|
|
when the alert is first received, and to delay presenting the info
|
|
|
|
to the user until after the initial alert dialog is dismissed.
|
|
|
|
@hide Pending API council approval -->
|
|
|
|
<permission android:name="android.permission.READ_CELL_BROADCASTS"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readCellBroadcasts"
|
|
|
|
android:description="@string/permdesc_readCellBroadcasts" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to read SMS messages. -->
|
|
|
|
<permission android:name="android.permission.READ_SMS"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readSms"
|
|
|
|
android:description="@string/permdesc_readSms" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write SMS messages. -->
|
|
|
|
<permission android:name="android.permission.WRITE_SMS"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_writeSms"
|
|
|
|
android:description="@string/permdesc_writeSms" />
|
|
|
|
|
|
|
|
<!-- Allows an application to monitor incoming WAP push messages. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_WAP_PUSH"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_receiveWapPush"
|
|
|
|
android:description="@string/permdesc_receiveWapPush" />
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Permissions for accessing social info (contacts and social) -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Used for permissions that provide access to the user's social connections,
|
|
|
|
such as contacts, call logs, social stream, etc. This includes
|
2009-03-03 19:31:44 -08:00
|
|
|
both reading and writing of this data (which should generally be
|
|
|
|
expressed as two distinct permissions). -->
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission-group android:name="android.permission-group.SOCIAL_INFO"
|
|
|
|
android:label="@string/permgrouplab_socialInfo"
|
|
|
|
android:icon="@drawable/perm_group_social_info"
|
|
|
|
android:description="@string/permgroupdesc_socialInfo"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="320" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to read the user's contacts data. -->
|
|
|
|
<permission android:name="android.permission.READ_CONTACTS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readContacts"
|
|
|
|
android:description="@string/permdesc_readContacts" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
|
|
|
contacts data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_CONTACTS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_writeContacts"
|
|
|
|
android:description="@string/permdesc_writeContacts" />
|
|
|
|
|
2012-08-06 17:19:22 -07:00
|
|
|
<!-- Allows an application to execute contacts directory search.
|
|
|
|
This should only be used by ContactsProvider. -->
|
|
|
|
<!-- @hide -->
|
|
|
|
<permission android:name="android.permission.BIND_DIRECTORY_SEARCH"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
2012-08-16 17:04:54 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2012-08-06 17:19:22 -07:00
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows an application to read the user's call log.
|
|
|
|
<p class="note"><strong>Note:</strong> If your app uses the
|
|
|
|
{@link #READ_CONTACTS} permission and <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 16 or higher.</p> -->
|
2012-03-12 13:45:19 -07:00
|
|
|
<permission android:name="android.permission.READ_CALL_LOG"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
2012-03-12 13:45:19 -07:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readCallLog"
|
|
|
|
android:description="@string/permdesc_readCallLog" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
2012-11-01 12:18:31 -07:00
|
|
|
contacts data.
|
|
|
|
<p class="note"><strong>Note:</strong> If your app uses the
|
|
|
|
{@link #WRITE_CONTACTS} permission and <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 15 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 16 or higher.</p> -->
|
2012-03-12 13:45:19 -07:00
|
|
|
<permission android:name="android.permission.WRITE_CALL_LOG"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
2012-03-12 13:45:19 -07:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_writeCallLog"
|
|
|
|
android:description="@string/permdesc_writeCallLog" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to read from the user's social stream. -->
|
|
|
|
<permission android:name="android.permission.READ_SOCIAL_STREAM"
|
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readSocialStream"
|
|
|
|
android:description="@string/permdesc_readSocialStream" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
|
|
|
social stream data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_SOCIAL_STREAM"
|
|
|
|
android:permissionGroup="android.permission-group.SOCIAL_INFO"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_writeSocialStream"
|
|
|
|
android:description="@string/permdesc_writeSocialStream" />
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing information about the device owner -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to information about the device
|
|
|
|
user such as profile information. This includes both reading and
|
|
|
|
writing of this data (which should generally be expressed as two
|
|
|
|
distinct permissions). -->
|
|
|
|
<permission-group android:name="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:label="@string/permgrouplab_personalInfo"
|
|
|
|
android:icon="@drawable/perm_group_personal_info"
|
|
|
|
android:description="@string/permgroupdesc_personalInfo"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="310" />
|
|
|
|
|
2011-05-11 11:39:54 -07:00
|
|
|
<!-- Allows an application to read the user's personal profile data. -->
|
|
|
|
<permission android:name="android.permission.READ_PROFILE"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readProfile"
|
|
|
|
android:description="@string/permdesc_readProfile" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
|
|
|
personal profile data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_PROFILE"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_writeProfile"
|
|
|
|
android:description="@string/permdesc_writeProfile" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the device calendar -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
2011-10-03 18:25:26 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Used for permissions that provide access to the device
|
|
|
|
calendar to create / view events.-->
|
|
|
|
<permission-group android:name="android.permission-group.CALENDAR"
|
|
|
|
android:label="@string/permgrouplab_calendar"
|
|
|
|
android:icon="@drawable/perm_group_calendar"
|
|
|
|
android:description="@string/permgroupdesc_calendar"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="290" />
|
2011-10-03 18:25:26 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to read the user's calendar data. -->
|
|
|
|
<permission android:name="android.permission.READ_CALENDAR"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readCalendar"
|
|
|
|
android:description="@string/permdesc_readCalendar" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
|
|
|
calendar data. -->
|
|
|
|
<permission android:name="android.permission.WRITE_CALENDAR"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_writeCalendar"
|
|
|
|
android:description="@string/permdesc_writeCalendar" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the user dictionary-->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to the user
|
|
|
|
calendar to create / view events.-->
|
|
|
|
<permission-group android:name="android.permission-group.USER_DICTIONARY"
|
|
|
|
android:label="@string/permgrouplab_dictionary"
|
|
|
|
android:icon="@drawable/perm_group_user_dictionary"
|
|
|
|
android:description="@string/permgroupdesc_dictionary"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="170" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to read the user dictionary. This should
|
2009-03-24 22:48:12 -07:00
|
|
|
really only be required by an IME, or a dictionary editor like
|
2012-04-30 16:33:56 -07:00
|
|
|
the Settings app. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.READ_USER_DICTIONARY"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.USER_DICTIONARY"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readDictionary"
|
|
|
|
android:description="@string/permdesc_readDictionary" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Used for permissions that provide access to the user
|
|
|
|
calendar to create / view events.-->
|
|
|
|
<permission-group android:name="android.permission-group.WRITE_USER_DICTIONARY"
|
|
|
|
android:label="@string/permgrouplab_writeDictionary"
|
|
|
|
android:icon="@drawable/perm_group_user_dictionary_write"
|
|
|
|
android:description="@string/permgroupdesc_writeDictionary"
|
|
|
|
android:priority="160" />
|
|
|
|
|
2012-04-30 16:33:56 -07:00
|
|
|
<!-- Allows an application to write to the user dictionary. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.WRITE_USER_DICTIONARY"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.WRITE_USER_DICTIONARY"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_writeDictionary"
|
|
|
|
android:description="@string/permdesc_writeDictionary" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the user bookmarks -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to the user
|
|
|
|
bookmarks and browser history.-->
|
|
|
|
<permission-group android:name="android.permission-group.BOOKMARKS"
|
|
|
|
android:label="@string/permgrouplab_bookmarks"
|
|
|
|
android:icon="@drawable/perm_group_bookmarks"
|
|
|
|
android:description="@string/permgroupdesc_bookmarks"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="300" />
|
|
|
|
|
2009-06-19 14:13:08 -04:00
|
|
|
<!-- Allows an application to read (but not write) the user's
|
|
|
|
browsing history and bookmarks. -->
|
2009-07-27 11:10:28 -04:00
|
|
|
<permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.BOOKMARKS"
|
2009-06-19 14:13:08 -04:00
|
|
|
android:label="@string/permlab_readHistoryBookmarks"
|
|
|
|
android:description="@string/permdesc_readHistoryBookmarks"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an application to write (but not read) the user's
|
|
|
|
browsing history and bookmarks. -->
|
2009-07-27 11:10:28 -04:00
|
|
|
<permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.BOOKMARKS"
|
2009-06-19 14:13:08 -04:00
|
|
|
android:label="@string/permlab_writeHistoryBookmarks"
|
|
|
|
android:description="@string/permdesc_writeHistoryBookmarks"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for setting the device alarm -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to the user voicemail box. -->
|
|
|
|
<permission-group android:name="android.permission-group.DEVICE_ALARMS"
|
|
|
|
android:label="@string/permgrouplab_deviceAlarms"
|
|
|
|
android:icon="@drawable/perm_group_device_alarms"
|
|
|
|
android:description="@string/permgroupdesc_deviceAlarms"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="210" />
|
|
|
|
|
2010-09-22 08:16:53 -04:00
|
|
|
<!-- Allows an application to broadcast an Intent to set an alarm for the
|
|
|
|
user. -->
|
|
|
|
<permission android:name="com.android.alarm.permission.SET_ALARM"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.DEVICE_ALARMS"
|
2010-09-22 08:16:53 -04:00
|
|
|
android:label="@string/permlab_setAlarm"
|
|
|
|
android:description="@string/permdesc_setAlarm"
|
|
|
|
android:protectionLevel="normal" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Permissions for accessing the user voicemail -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to the user voicemail box. -->
|
|
|
|
<permission-group android:name="android.permission-group.VOICEMAIL"
|
|
|
|
android:label="@string/permgrouplab_voicemail"
|
|
|
|
android:icon="@drawable/perm_group_voicemail"
|
|
|
|
android:description="@string/permgroupdesc_voicemail"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="280" />
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2011-08-02 19:25:50 +01:00
|
|
|
<!-- Allows an application to add voicemails into the system. -->
|
|
|
|
<permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.VOICEMAIL"
|
2011-08-02 19:25:50 +01:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_addVoicemail"
|
|
|
|
android:description="@string/permdesc_addVoicemail" />
|
|
|
|
|
Remove "enhance web scripts" from settings and make it requested by plug-ins.
Currently we have an "enhance web accessibility" setting that has to be
enabled to make sure web content is accessible. We added the setting to
get user consent because we are injecting JavaScript-based screen-reader
pulled from the Google infrastructure. However, many users do not know
that and (as expected) do not read the user documentation, resulting in
critique for lacking accessibility support in WebViews with JavaScript
enabled (Browser, Gmail, etc).
To smoothen the user experience now "enhance web accessibility" is a
feature an accessibility plug-in can request, similarly to explore by
touch. Now a user does not need to know that she has to explicitly
enable the setting and web accessibility will work out-of-the-box.
Before we were showing a dialog when a plug-in tries to put the device
in a touch exploration mode. However, now that we have one more feature
a plug-in can request, showing two dialogs (assume a plug-in wants both
features) will mean that a user should potentially deal with three
dialogs, one for enabling the service, and one for each feature. We
could merge the dialogs but still the user has to poke two dialogs.
It seems that the permission mechanism is a perfect fit for getting
user permission for an app to do something, in this case to enable
an accessibility feature. We need a separate permission for explore
by touch and enhance web accessibility since the former changes the
interaction model and the latter injects JavaScript in web pages. It
is critical to get user consent for the script injection part so we
need a well-documented permission rather a vague umbrella permission
for poking accessibility features. To allow better grouping of the
accessibility permissions this patch adds a permission group as well.
bug:8089372
Change-Id: Ic125514c34f191aea0416a469e4b3481ab3200b9
2013-01-29 01:04:35 -08:00
|
|
|
<!-- =============================================== -->
|
|
|
|
<!-- Permissions for enabling accessibility features -->
|
|
|
|
<!-- =============================================== -->
|
|
|
|
|
|
|
|
<!-- Used for permissions that allow requesting certain accessibility features. -->
|
|
|
|
<permission-group android:name="android.permission-group.ACCESSIBILITY_FEATURES"
|
|
|
|
android:label="@string/permgrouplab_accessibilityFeatures"
|
|
|
|
android:icon="@drawable/perm_group_accessibility_features"
|
|
|
|
android:description="@string/permgroupdesc_accessibilityFeatures"
|
|
|
|
android:priority="380" />
|
|
|
|
|
|
|
|
<!-- Allows an accessibility service to request touch exploration mode. -->
|
|
|
|
<permission android:name="android.permission.CAN_REQUEST_TOUCH_EXPLORATION_MODE"
|
|
|
|
android:permissionGroup="android.permission-group.ACCESSIBILITY_FEATURES"
|
|
|
|
android:label="@string/permlab_canRequestTouchExplorationMode"
|
|
|
|
android:description="@string/permdesc_canRequestTouchExplorationMode"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
|
|
|
<!-- Allows an accessibility service to request enhanced web accessibility. -->
|
|
|
|
<permission android:name="android.permission.CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY"
|
|
|
|
android:permissionGroup="android.permission-group.ACCESSIBILITY_FEATURES"
|
|
|
|
android:label="@string/permlab_canRequestEnahncedWebAccessibility"
|
|
|
|
android:description="@string/permdesc_canRequestEnahncedWebAccessibility"
|
|
|
|
android:protectionLevel="dangerous" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ======================================= -->
|
|
|
|
<!-- Permissions for accessing location info -->
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Used for permissions that allow access to the user's current
|
|
|
|
location. -->
|
|
|
|
<permission-group android:name="android.permission-group.LOCATION"
|
|
|
|
android:label="@string/permgrouplab_location"
|
2012-05-06 16:30:15 -07:00
|
|
|
android:icon="@drawable/perm_group_location"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:description="@string/permgroupdesc_location"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="330" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-11-01 10:55:02 -07:00
|
|
|
<!-- Allows an app to access precise location from location sources such
|
|
|
|
as GPS, cell towers, and Wi-Fi. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.ACCESS_FINE_LOCATION"
|
|
|
|
android:permissionGroup="android.permission-group.LOCATION"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_accessFineLocation"
|
|
|
|
android:description="@string/permdesc_accessFineLocation" />
|
|
|
|
|
2012-11-01 10:55:02 -07:00
|
|
|
<!-- Allows an app to access approximate location derived from network location
|
|
|
|
sources such as cell towers and Wi-Fi. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.ACCESS_COARSE_LOCATION"
|
|
|
|
android:permissionGroup="android.permission-group.LOCATION"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_accessCoarseLocation"
|
|
|
|
android:description="@string/permdesc_accessCoarseLocation" />
|
|
|
|
|
|
|
|
<!-- Allows an application to create mock location providers for testing -->
|
|
|
|
<permission android:name="android.permission.ACCESS_MOCK_LOCATION"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2009-04-13 16:11:55 -07:00
|
|
|
android:protectionLevel="dangerous"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_accessMockLocation"
|
|
|
|
android:description="@string/permdesc_accessMockLocation" />
|
|
|
|
|
|
|
|
<!-- Allows an application to access extra location provider commands -->
|
|
|
|
<permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2009-04-13 16:11:55 -07:00
|
|
|
android:protectionLevel="normal"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_accessLocationExtraCommands"
|
|
|
|
android:description="@string/permdesc_accessLocationExtraCommands" />
|
|
|
|
|
2009-05-01 11:30:34 -04:00
|
|
|
<!-- Allows an application to install a location provider into the Location Manager -->
|
|
|
|
<permission android:name="android.permission.INSTALL_LOCATION_PROVIDER"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2009-05-01 11:30:34 -04:00
|
|
|
android:label="@string/permlab_installLocationProvider"
|
|
|
|
android:description="@string/permdesc_installLocationProvider" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ======================================= -->
|
|
|
|
<!-- Permissions for accessing networks -->
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Used for permissions that provide access to networking services. The
|
|
|
|
main permission here is internet access, but this is also an
|
|
|
|
appropriate group for accessing or modifying any network configuration
|
|
|
|
or other related network operations. -->
|
|
|
|
<permission-group android:name="android.permission-group.NETWORK"
|
|
|
|
android:label="@string/permgrouplab_network"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_network"
|
|
|
|
android:description="@string/permgroupdesc_network"
|
|
|
|
android:priority="270" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows applications to open network sockets. -->
|
|
|
|
<permission android:name="android.permission.INTERNET"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:description="@string/permdesc_createNetworkSockets"
|
|
|
|
android:label="@string/permlab_createNetworkSockets" />
|
|
|
|
|
|
|
|
<!-- Allows applications to access information about networks -->
|
|
|
|
<permission android:name="android.permission.ACCESS_NETWORK_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_accessNetworkState"
|
|
|
|
android:label="@string/permlab_accessNetworkState" />
|
|
|
|
|
|
|
|
<!-- Allows applications to access information about Wi-Fi networks -->
|
|
|
|
<permission android:name="android.permission.ACCESS_WIFI_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_accessWifiState"
|
|
|
|
android:label="@string/permlab_accessWifiState" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to change Wi-Fi connectivity state -->
|
|
|
|
<permission android:name="android.permission.CHANGE_WIFI_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:description="@string/permdesc_changeWifiState"
|
|
|
|
android:label="@string/permlab_changeWifiState" />
|
2012-06-01 19:57:57 -07:00
|
|
|
|
2011-11-08 10:12:25 -08:00
|
|
|
<!-- @hide -->
|
2011-10-13 22:51:57 +09:00
|
|
|
<permission android:name="android.permission.ACCESS_WIMAX_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_accessWimaxState"
|
|
|
|
android:label="@string/permlab_accessWimaxState" />
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- @hide -->
|
|
|
|
<permission android:name="android.permission.CHANGE_WIMAX_STATE"
|
2012-06-01 14:22:03 -07:00
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:description="@string/permdesc_changeWimaxState"
|
|
|
|
android:label="@string/permlab_changeWimaxState" />
|
|
|
|
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<!-- Permissions for short range, peripheral networks -->
|
|
|
|
<!-- ======================================= -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide access to other devices through Bluetooth.-->
|
|
|
|
<permission-group android:name="android.permission-group.BLUETOOTH_NETWORK"
|
|
|
|
android:label="@string/permgrouplab_bluetoothNetwork"
|
|
|
|
android:icon="@drawable/perm_group_bluetooth"
|
|
|
|
android:description="@string/permgroupdesc_bluetoothNetwork"
|
|
|
|
android:priority="260" />
|
|
|
|
|
|
|
|
<!-- Allows applications to connect to paired bluetooth devices -->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH"
|
|
|
|
android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
|
|
|
|
android:protectionLevel="dangerous"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:description="@string/permdesc_bluetooth"
|
2012-06-01 19:57:57 -07:00
|
|
|
android:label="@string/permlab_bluetooth" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to discover and pair bluetooth devices -->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH_ADMIN"
|
|
|
|
android:permissionGroup="android.permission-group.BLUETOOTH_NETWORK"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:description="@string/permdesc_bluetoothAdmin"
|
|
|
|
android:label="@string/permlab_bluetoothAdmin" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2012-10-04 12:25:28 -07:00
|
|
|
<!-- Allows bluetooth stack to access files
|
|
|
|
@hide This should only be used by Bluetooth apk.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.BLUETOOTH_STACK"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-02-15 13:34:38 -08:00
|
|
|
<!-- Allows applications to perform I/O operations over NFC -->
|
2010-10-17 19:05:47 -07:00
|
|
|
<permission android:name="android.permission.NFC"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
2010-09-23 16:12:11 -07:00
|
|
|
android:protectionLevel="dangerous"
|
2010-10-17 19:05:47 -07:00
|
|
|
android:description="@string/permdesc_nfc"
|
|
|
|
android:label="@string/permlab_nfc" />
|
2010-09-23 16:12:11 -07:00
|
|
|
|
2012-09-16 16:03:36 -07:00
|
|
|
<!-- Allows an internal user to use privileged ConnectivityManager APIs.
|
2010-06-15 12:19:37 -07:00
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONNECTIVITY_INTERNAL"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-06-15 12:19:37 -07:00
|
|
|
|
2012-06-20 14:29:57 -07:00
|
|
|
<!-- @hide -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2013-01-29 09:05:21 -08:00
|
|
|
<!-- Allows access to the loop radio (Android@Home mesh network) device.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.LOOP_RADIO"
|
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
|
|
|
android:protectionLevel="signature|system" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for accessing accounts -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-09-29 17:57:25 -07:00
|
|
|
<!-- Permissions for direct access to the accounts managed
|
|
|
|
by the Account Manager. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission-group android:name="android.permission-group.ACCOUNTS"
|
|
|
|
android:label="@string/permgrouplab_accounts"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_accounts"
|
|
|
|
android:description="@string/permgroupdesc_accounts"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="200" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows access to the list of accounts in the Accounts Service -->
|
|
|
|
<permission android:name="android.permission.GET_ACCOUNTS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_getAccounts"
|
|
|
|
android:label="@string/permlab_getAccounts" />
|
|
|
|
|
2009-07-16 16:36:38 -07:00
|
|
|
<!-- Allows an application to act as an AccountAuthenticator for
|
|
|
|
the AccountManager -->
|
|
|
|
<permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_authenticateAccounts"
|
|
|
|
android:description="@string/permdesc_authenticateAccounts" />
|
|
|
|
|
|
|
|
<!-- Allows an application to request authtokens from the AccountManager -->
|
|
|
|
<permission android:name="android.permission.USE_CREDENTIALS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_useCredentials"
|
|
|
|
android:description="@string/permdesc_useCredentials" />
|
|
|
|
|
|
|
|
<!-- Allows an application to manage the list of accounts in the AccountManager -->
|
|
|
|
<permission android:name="android.permission.MANAGE_ACCOUNTS"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_manageAccounts"
|
|
|
|
android:description="@string/permdesc_manageAccounts" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to call into AccountAuthenticators. Only
|
|
|
|
the system can get this permission. -->
|
|
|
|
<permission android:name="android.permission.ACCOUNT_MANAGER"
|
|
|
|
android:permissionGroup="android.permission-group.ACCOUNTS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:description="@string/permdesc_accountManagerService"
|
|
|
|
android:label="@string/permlab_accountManagerService" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ================================== -->
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Permissions for accessing hardware that may effect battery life-->
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Used for permissions that provide direct access to the hardware on
|
2012-09-13 00:24:38 -07:00
|
|
|
the device that has an effect on battery life. This includes vibrator,
|
|
|
|
flashlight, etc. -->
|
2012-06-01 14:22:03 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<permission-group android:name="android.permission-group.AFFECTS_BATTERY"
|
|
|
|
android:label="@string/permgrouplab_affectsBattery"
|
|
|
|
android:icon="@drawable/perm_group_affects_battery"
|
|
|
|
android:description="@string/permgroupdesc_affectsBattery"
|
|
|
|
android:priority="180" />
|
2012-06-01 14:22:03 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to enter Wi-Fi Multicast mode -->
|
|
|
|
<permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
|
2012-06-01 14:22:03 -07:00
|
|
|
android:protectionLevel="dangerous"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:description="@string/permdesc_changeWifiMulticastState"
|
|
|
|
android:label="@string/permlab_changeWifiMulticastState" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows access to the vibrator -->
|
|
|
|
<permission android:name="android.permission.VIBRATE"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_vibrate"
|
|
|
|
android:description="@string/permdesc_vibrate" />
|
|
|
|
|
|
|
|
<!-- Allows access to the flashlight -->
|
|
|
|
<permission android:name="android.permission.FLASHLIGHT"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_flashlight"
|
|
|
|
android:description="@string/permdesc_flashlight" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows using PowerManager WakeLocks to keep processor from sleeping or screen
|
|
|
|
from dimming -->
|
|
|
|
<permission android:name="android.permission.WAKE_LOCK"
|
|
|
|
android:permissionGroup="android.permission-group.AFFECTS_BATTERY"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_wakeLock"
|
|
|
|
android:description="@string/permdesc_wakeLock" />
|
|
|
|
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
<!-- Permissions related to changing audio settings -->
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide direct access to speaker settings
|
|
|
|
the device. -->
|
|
|
|
<permission-group android:name="android.permission-group.AUDIO_SETTINGS"
|
|
|
|
android:label="@string/permgrouplab_audioSettings"
|
|
|
|
android:icon="@drawable/perm_group_audio_settings"
|
|
|
|
android:description="@string/permgroupdesc_audioSettings"
|
|
|
|
android:priority="130" />
|
|
|
|
|
|
|
|
<!-- Allows an application to modify global audio settings -->
|
|
|
|
<permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.AUDIO_SETTINGS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_modifyAudioSettings"
|
|
|
|
android:description="@string/permdesc_modifyAudioSettings" />
|
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for accessing hardware -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that provide direct access to the hardware on
|
|
|
|
the device. This includes audio, the camera, vibrator, etc. -->
|
|
|
|
<permission-group android:name="android.permission-group.HARDWARE_CONTROLS"
|
|
|
|
android:label="@string/permgrouplab_hardwareControls"
|
|
|
|
android:description="@string/permgroupdesc_hardwareControls"
|
|
|
|
android:priority="260"/>
|
|
|
|
|
2011-02-27 09:10:37 -08:00
|
|
|
<!-- Allows an application to manage preferences and permissions for USB devices
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MANAGE_USB"
|
2010-05-10 18:26:40 -04:00
|
|
|
android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2011-02-27 09:10:37 -08:00
|
|
|
android:label="@string/permlab_manageUsb"
|
|
|
|
android:description="@string/permdesc_manageUsb" />
|
2010-05-10 18:26:40 -04:00
|
|
|
|
2011-01-10 08:24:08 -05:00
|
|
|
<!-- Allows an application to access the MTP USB kernel driver.
|
|
|
|
For use only by the device side MTP implementation.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_MTP"
|
|
|
|
android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2011-01-10 08:24:08 -05:00
|
|
|
android:label="@string/permlab_accessMtp"
|
|
|
|
android:description="@string/permdesc_accessMtp" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows access to hardware peripherals. Intended only for hardware testing -->
|
|
|
|
<permission android:name="android.permission.HARDWARE_TEST"
|
|
|
|
android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_hardware_test"
|
|
|
|
android:description="@string/permdesc_hardware_test" />
|
|
|
|
|
2011-03-28 09:18:31 -05:00
|
|
|
<!-- Allows access to configure network interfaces, configure/use IPSec, etc.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.NET_ADMIN"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-04-26 17:30:34 -07:00
|
|
|
<!-- Allows registration for remote audio playback. @hide -->
|
|
|
|
<permission android:name="android.permission.REMOTE_AUDIO_PLAYBACK"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- =========================================== -->
|
|
|
|
<!-- Permissions associated with audio capture -->
|
|
|
|
<!-- =========================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that are associated with accessing
|
|
|
|
microphone audio from the device. Note that phone calls also capture audio
|
|
|
|
but are in a separate (more visible) permission group. -->
|
|
|
|
<permission-group android:name="android.permission-group.MICROPHONE"
|
|
|
|
android:label="@string/permgrouplab_microphone"
|
|
|
|
android:icon="@drawable/perm_group_microphone"
|
|
|
|
android:description="@string/permgroupdesc_microphone"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="340" />
|
|
|
|
|
|
|
|
<!-- Allows an application to record audio -->
|
|
|
|
<permission android:name="android.permission.RECORD_AUDIO"
|
|
|
|
android:permissionGroup="android.permission-group.MICROPHONE"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_recordAudio" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- =========================================== -->
|
|
|
|
<!-- Permissions associated with camera and image capture -->
|
|
|
|
<!-- =========================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Used for permissions that are associated with accessing
|
|
|
|
camera or capturing images/video from the device. -->
|
|
|
|
<permission-group android:name="android.permission-group.CAMERA"
|
|
|
|
android:label="@string/permgrouplab_camera"
|
|
|
|
android:icon="@drawable/perm_group_camera"
|
|
|
|
android:description="@string/permgroupdesc_camera"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="350" />
|
|
|
|
|
|
|
|
<!-- Required to be able to access the camera device.
|
|
|
|
<p>This will automatically enforce the <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
|
|
|
|
<uses-feature>}</a> manifest element for <em>all</em> camera features.
|
|
|
|
If you do not require all camera features or can properly operate if a camera
|
|
|
|
is not available, then you must modify your manifest as appropriate in order to
|
|
|
|
install on devices that don't support all camera features.</p> -->
|
|
|
|
<permission android:name="android.permission.CAMERA"
|
|
|
|
android:permissionGroup="android.permission-group.CAMERA"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_camera"
|
|
|
|
android:description="@string/permdesc_camera" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- =========================================== -->
|
|
|
|
<!-- Permissions associated with telephony state -->
|
|
|
|
<!-- =========================================== -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Used for permissions that are associated with accessing and modifyign
|
2012-09-13 00:24:38 -07:00
|
|
|
telephony state: placing calls, intercepting outgoing calls, reading
|
|
|
|
and modifying the phone state. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission-group android:name="android.permission-group.PHONE_CALLS"
|
|
|
|
android:label="@string/permgrouplab_phoneCalls"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_phone_calls"
|
|
|
|
android:description="@string/permgroupdesc_phoneCalls"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="370" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to monitor, modify, or abort outgoing
|
|
|
|
calls. -->
|
|
|
|
<permission android:name="android.permission.PROCESS_OUTGOING_CALLS"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE_CALLS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_processOutgoingCalls"
|
|
|
|
android:description="@string/permdesc_processOutgoingCalls" />
|
|
|
|
|
|
|
|
<!-- Allows modification of the telephony state - power on, mmi, etc.
|
|
|
|
Does not include placing calls. -->
|
|
|
|
<permission android:name="android.permission.MODIFY_PHONE_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE_CALLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_modifyPhoneState"
|
|
|
|
android:description="@string/permdesc_modifyPhoneState" />
|
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows read only access to phone state.
|
|
|
|
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 4 or higher. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.READ_PHONE_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE_CALLS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_readPhoneState"
|
|
|
|
android:description="@string/permdesc_readPhoneState" />
|
|
|
|
|
2011-07-21 17:55:53 -07:00
|
|
|
<!-- Allows read access to privileged phone state.
|
|
|
|
@hide Used internally. -->
|
|
|
|
<permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE_CALLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-07-21 17:55:53 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to initiate a phone call without going through
|
|
|
|
the Dialer user interface for the user to confirm the call
|
|
|
|
being placed. -->
|
|
|
|
<permission android:name="android.permission.CALL_PHONE"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE_CALLS"
|
|
|
|
android:protectionLevel="dangerous"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionFlags="costsMoney"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:label="@string/permlab_callPhone"
|
|
|
|
android:description="@string/permdesc_callPhone" />
|
|
|
|
|
|
|
|
<!-- Allows an application to use SIP service -->
|
|
|
|
<permission android:name="android.permission.USE_SIP"
|
|
|
|
android:permissionGroup="android.permission-group.PHONE_CALLS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:description="@string/permdesc_use_sip"
|
|
|
|
android:label="@string/permlab_use_sip" />
|
|
|
|
|
2009-04-23 09:18:32 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for sdcard interaction -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Group of permissions that are related to SD card access. -->
|
|
|
|
<permission-group android:name="android.permission-group.STORAGE"
|
|
|
|
android:label="@string/permgrouplab_storage"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_storage"
|
|
|
|
android:description="@string/permgroupdesc_storage"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
|
|
|
android:priority="240" />
|
2009-04-23 09:18:32 -07:00
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows an application to read from external storage.
|
|
|
|
<p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
|
|
|
|
granted this permission.</p>
|
|
|
|
<p>Currently, this permission is not enforced and all apps still have access to read from
|
|
|
|
external storage without this permission. That will change in a future release and apps
|
|
|
|
will require this permission to read from external storage. So if your
|
|
|
|
app reads from the external storage, you should add this permission to your app now
|
|
|
|
to ensure that it continues to work on future versions of Android.</p>
|
|
|
|
<p>You can test your app with the permission enforced by either running your app on the
|
|
|
|
Android Emulator when running Android 4.1 or higher, or enabling <em>Protect USB
|
|
|
|
storage</em> under Developer options in the Settings app on a device running Android 4.1 or
|
|
|
|
higher.</p>
|
|
|
|
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 4 or higher.-->
|
2012-03-12 10:51:26 -07:00
|
|
|
<permission android:name="android.permission.READ_EXTERNAL_STORAGE"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-03-12 10:51:26 -07:00
|
|
|
android:label="@string/permlab_sdcardRead"
|
|
|
|
android:description="@string/permdesc_sdcardRead"
|
2012-06-01 19:57:57 -07:00
|
|
|
android:protectionLevel="normal" />
|
2012-03-12 10:51:26 -07:00
|
|
|
|
2012-11-01 12:18:31 -07:00
|
|
|
<!-- Allows an application to write to external storage.
|
|
|
|
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
|
|
|
|
minSdkVersion}</a> and <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
|
|
|
|
grants your app this permission. If you don't need this permission, be sure your <a
|
|
|
|
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
|
|
|
|
targetSdkVersion}</a> is 4 or higher. -->
|
2009-06-01 09:25:28 -07:00
|
|
|
<permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
2009-04-23 09:18:32 -07:00
|
|
|
android:permissionGroup="android.permission-group.STORAGE"
|
|
|
|
android:label="@string/permlab_sdcardWrite"
|
|
|
|
android:description="@string/permdesc_sdcardWrite"
|
2009-05-13 15:06:13 -07:00
|
|
|
android:protectionLevel="dangerous" />
|
2009-04-23 09:18:32 -07:00
|
|
|
|
2011-04-22 07:05:21 -07:00
|
|
|
<!-- Allows an application to write to internal media storage
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.WRITE_MEDIA_STORAGE"
|
|
|
|
android:permissionGroup="android.permission-group.STORAGE"
|
|
|
|
android:label="@string/permlab_mediaStorageWrite"
|
|
|
|
android:description="@string/permdesc_mediaStorageWrite"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-04-22 07:05:21 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions for screenlock -->
|
|
|
|
<!-- ================================== -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Group of permissions that are related to the screenlock. -->
|
|
|
|
<permission-group android:name="android.permission-group.SCREENLOCK"
|
2013-03-18 10:53:09 -07:00
|
|
|
android:label="@string/permgrouplab_screenlock"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:icon="@drawable/perm_group_screenlock"
|
|
|
|
android:permissionGroupFlags="personalInfo"
|
2013-03-18 10:53:09 -07:00
|
|
|
android:description="@string/permgroupdesc_screenlock"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:priority="230" />
|
2012-06-01 14:22:03 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows applications to disable the keyguard -->
|
|
|
|
<permission android:name="android.permission.DISABLE_KEYGUARD"
|
|
|
|
android:permissionGroup="android.permission-group.SCREENLOCK"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:description="@string/permdesc_disableKeyguard"
|
|
|
|
android:label="@string/permlab_disableKeyguard" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions to access other installed applications -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Group of permissions that are related to the other applications
|
|
|
|
installed on the system. Examples include such as listing
|
|
|
|
running apps, or killing background processes. -->
|
|
|
|
<permission-group android:name="android.permission-group.APP_INFO"
|
|
|
|
android:label="@string/permgrouplab_appInfo"
|
|
|
|
android:icon="@drawable/perm_group_app_info"
|
|
|
|
android:description="@string/permgroupdesc_appInfo"
|
|
|
|
android:priority="220" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to get information about the currently
|
2012-04-24 11:15:40 -07:00
|
|
|
or recently running tasks. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.GET_TASKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_getTasks"
|
|
|
|
android:description="@string/permdesc_getTasks" />
|
2012-09-17 17:20:24 -07:00
|
|
|
<!-- @hide Allows an application to call APIs that allow it to do interactions
|
2012-08-02 18:31:26 -07:00
|
|
|
across the users on the device, using singleton services and
|
|
|
|
user-targeted broadcasts. This permission is not available to
|
|
|
|
third party applications. -->
|
|
|
|
<permission android:name="android.permission.INTERACT_ACROSS_USERS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature|system|development"
|
|
|
|
android:label="@string/permlab_interactAcrossUsers"
|
|
|
|
android:description="@string/permdesc_interactAcrossUsers" />
|
|
|
|
|
|
|
|
<!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
|
|
|
|
that removes restrictions on where broadcasts can be sent and allows other
|
|
|
|
types of interactions. -->
|
|
|
|
<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_interactAcrossUsersFull"
|
|
|
|
android:description="@string/permdesc_interactAcrossUsersFull" />
|
|
|
|
|
2012-09-17 17:20:24 -07:00
|
|
|
<!-- @hide Allows an application to call APIs that allow it to query and manage
|
2012-08-14 18:25:45 -07:00
|
|
|
users on the device. This permission is not available to
|
|
|
|
third party applications. -->
|
|
|
|
<permission android:name="android.permission.MANAGE_USERS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-08-21 15:40:12 -07:00
|
|
|
android:protectionLevel="signature|system"
|
2012-08-14 18:25:45 -07:00
|
|
|
android:label="@string/permlab_manageUsers"
|
|
|
|
android:description="@string/permdesc_manageUsers" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2012-04-24 11:15:40 -07:00
|
|
|
<!-- Allows an application to get full detailed information about
|
|
|
|
recently running tasks, with full fidelity to the real state.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.GET_DETAILED_TASKS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_getDetailedTasks"
|
|
|
|
android:description="@string/permdesc_getDetailedTasks" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to change the Z-order of tasks -->
|
|
|
|
<permission android:name="android.permission.REORDER_TASKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
|
|
|
android:protectionLevel="normal"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_reorderTasks"
|
|
|
|
android:description="@string/permdesc_reorderTasks" />
|
|
|
|
|
2011-07-29 15:52:05 -07:00
|
|
|
<!-- @hide Allows an application to change to remove/kill tasks -->
|
2011-04-12 18:16:08 -07:00
|
|
|
<permission android:name="android.permission.REMOVE_TASKS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
2011-04-12 18:16:08 -07:00
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_removeTasks"
|
|
|
|
android:description="@string/permdesc_removeTasks" />
|
|
|
|
|
2012-04-18 19:16:15 -07:00
|
|
|
<!-- Allows an application to start any activity, regardless of permission
|
|
|
|
protection or exported state. @hide -->
|
|
|
|
<permission android:name="android.permission.START_ANY_ACTIVITY"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_startAnyActivity"
|
|
|
|
android:description="@string/permdesc_startAnyActivity" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- @deprecated The {@link android.app.ActivityManager#restartPackage}
|
|
|
|
API is no longer supported. -->
|
|
|
|
<permission android:name="android.permission.RESTART_PACKAGES"
|
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_killBackgroundProcesses"
|
|
|
|
android:description="@string/permdesc_killBackgroundProcesses" />
|
|
|
|
|
|
|
|
<!-- Allows an application to call
|
|
|
|
{@link android.app.ActivityManager#killBackgroundProcesses}. -->
|
|
|
|
<permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"
|
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_killBackgroundProcesses"
|
|
|
|
android:description="@string/permdesc_killBackgroundProcesses" />
|
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions affecting the display of other applications -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Group of permissions that allow manipulation of how
|
|
|
|
another application displays UI to the user. -->
|
|
|
|
<permission-group android:name="android.permission-group.DISPLAY"
|
|
|
|
android:label="@string/permgrouplab_display"
|
|
|
|
android:icon="@drawable/perm_group_display"
|
|
|
|
android:description="@string/permgroupdesc_display"
|
|
|
|
android:priority="190"/>
|
|
|
|
|
|
|
|
<!-- Allows an application to open windows using the type
|
|
|
|
{@link android.view.WindowManager.LayoutParams#TYPE_SYSTEM_ALERT},
|
|
|
|
shown on top of all other applications. Very few applications
|
|
|
|
should use this permission; these windows are intended for
|
|
|
|
system-level interaction with the user. -->
|
|
|
|
<permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
|
|
|
|
android:permissionGroup="android.permission-group.DISPLAY"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_systemAlertWindow"
|
|
|
|
android:description="@string/permdesc_systemAlertWindow" />
|
|
|
|
|
|
|
|
<!-- ================================== -->
|
|
|
|
<!-- Permissions affecting the system wallpaper -->
|
|
|
|
<!-- ================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Group of permissions that allow manipulation of how
|
|
|
|
another application displays UI to the user. -->
|
|
|
|
<permission-group android:name="android.permission-group.WALLPAPER"
|
|
|
|
android:label="@string/permgrouplab_wallpaper"
|
|
|
|
android:icon="@drawable/perm_group_wallpaper"
|
|
|
|
android:description="@string/permgroupdesc_wallpaper"
|
|
|
|
android:priority="150" />
|
|
|
|
|
|
|
|
<!-- Allows applications to set the wallpaper -->
|
|
|
|
<permission android:name="android.permission.SET_WALLPAPER"
|
|
|
|
android:permissionGroup="android.permission-group.WALLPAPER"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_setWallpaper"
|
|
|
|
android:description="@string/permdesc_setWallpaper" />
|
|
|
|
|
|
|
|
<!-- Allows applications to set the wallpaper hints -->
|
|
|
|
<permission android:name="android.permission.SET_WALLPAPER_HINTS"
|
|
|
|
android:permissionGroup="android.permission-group.WALLPAPER"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_setWallpaperHints"
|
|
|
|
android:description="@string/permdesc_setWallpaperHints" />
|
|
|
|
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Permissions for changing the system clock -->
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Group of permissions that are related to system clock. -->
|
|
|
|
<permission-group android:name="android.permission-group.SYSTEM_CLOCK"
|
|
|
|
android:label="@string/permgrouplab_systemClock"
|
|
|
|
android:icon="@drawable/perm_group_system_clock"
|
|
|
|
android:description="@string/permgroupdesc_systemClock"
|
|
|
|
android:priority="140" />
|
|
|
|
|
|
|
|
<!-- Allows applications to set the system time -->
|
|
|
|
<permission android:name="android.permission.SET_TIME"
|
|
|
|
android:protectionLevel="signature|system"
|
|
|
|
android:label="@string/permlab_setTime"
|
|
|
|
android:description="@string/permdesc_setTime" />
|
|
|
|
|
|
|
|
<!-- Allows applications to set the system time zone -->
|
|
|
|
<permission android:name="android.permission.SET_TIME_ZONE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_CLOCK"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_setTimeZone"
|
|
|
|
android:description="@string/permdesc_setTimeZone" />
|
|
|
|
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
<!-- Permissions related to changing status bar -->
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
|
|
|
|
<!-- Used for permissions that change the status bar -->
|
|
|
|
<permission-group android:name="android.permission-group.STATUS_BAR"
|
|
|
|
android:label="@string/permgrouplab_statusBar"
|
|
|
|
android:icon="@drawable/perm_group_status_bar"
|
|
|
|
android:description="@string/permgroupdesc_statusBar"
|
|
|
|
android:priority="110" />
|
|
|
|
|
|
|
|
<!-- Allows an application to expand or collapse the status bar. -->
|
|
|
|
<permission android:name="android.permission.EXPAND_STATUS_BAR"
|
|
|
|
android:permissionGroup="android.permission-group.STATUS_BAR"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_expandStatusBar"
|
|
|
|
android:description="@string/permdesc_expandStatusBar" />
|
|
|
|
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
<!-- Permissions related to accessing sync settings -->
|
|
|
|
<!-- ==================================================== -->
|
|
|
|
|
|
|
|
<!-- Used for permissions that access the sync settings or sync
|
|
|
|
related information. -->
|
|
|
|
<permission-group android:name="android.permission-group.SYNC_SETTINGS"
|
|
|
|
android:label="@string/permgrouplab_syncSettings"
|
|
|
|
android:icon="@drawable/perm_group_sync_settings"
|
|
|
|
android:description="@string/permgroupdesc_syncSettings"
|
|
|
|
android:priority="120" />
|
|
|
|
|
|
|
|
<!-- Allows applications to read the sync settings -->
|
|
|
|
<permission android:name="android.permission.READ_SYNC_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.SYNC_SETTINGS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_readSyncSettings"
|
|
|
|
android:label="@string/permlab_readSyncSettings" />
|
|
|
|
|
|
|
|
<!-- Allows applications to write the sync settings -->
|
|
|
|
<permission android:name="android.permission.WRITE_SYNC_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.SYNC_SETTINGS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_writeSyncSettings"
|
|
|
|
android:label="@string/permlab_writeSyncSettings" />
|
|
|
|
|
|
|
|
<!-- Allows applications to read the sync stats -->
|
|
|
|
<permission android:name="android.permission.READ_SYNC_STATS"
|
|
|
|
android:permissionGroup="android.permission-group.SYNC_SETTINGS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:description="@string/permdesc_readSyncStats"
|
|
|
|
android:label="@string/permlab_readSyncStats" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<!-- Permissions for low-level system interaction -->
|
|
|
|
<!-- ============================================ -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Group of permissions that are related to system APIs. Many
|
|
|
|
of these are not permissions the user will be expected to understand,
|
|
|
|
and such permissions should generally be marked as "normal" protection
|
|
|
|
level so they don't get displayed. This can also, however, be used
|
|
|
|
for miscellaneous features that provide access to the operating system,
|
|
|
|
such as writing the global system settings. -->
|
|
|
|
<permission-group android:name="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:label="@string/permgrouplab_systemTools"
|
|
|
|
android:icon="@drawable/perm_group_system_tools"
|
|
|
|
android:description="@string/permgroupdesc_systemTools"
|
|
|
|
android:priority="100" />
|
|
|
|
|
2012-02-09 16:12:18 -08:00
|
|
|
<!-- @hide Change the screen compatibility mode of applications -->
|
|
|
|
<permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_setScreenCompatibility"
|
|
|
|
android:description="@string/permdesc_setScreenCompatibility" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to access all multi-user external storage @hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
|
|
|
android:label="@string/permlab_sdcardAccessAll"
|
|
|
|
android:description="@string/permdesc_sdcardAccessAll"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to modify the current configuration, such
|
|
|
|
as locale. -->
|
|
|
|
<permission android:name="android.permission.CHANGE_CONFIGURATION"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:protectionLevel="signature|system|development"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_changeConfiguration"
|
|
|
|
android:description="@string/permdesc_changeConfiguration" />
|
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to read or write the system settings. -->
|
|
|
|
<permission android:name="android.permission.WRITE_SETTINGS"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-01-04 18:43:19 -08:00
|
|
|
android:protectionLevel="normal"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:label="@string/permlab_writeSettings"
|
|
|
|
android:description="@string/permdesc_writeSettings" />
|
2012-04-13 13:51:48 -07:00
|
|
|
|
2012-09-13 00:24:38 -07:00
|
|
|
<!-- Allows an application to modify the Google service map. -->
|
|
|
|
<permission android:name="android.permission.WRITE_GSERVICES"
|
|
|
|
android:protectionLevel="signature|system"
|
|
|
|
android:label="@string/permlab_writeGservices"
|
|
|
|
android:description="@string/permdesc_writeGservices" />
|
|
|
|
|
2010-01-04 18:43:19 -08:00
|
|
|
<!-- Allows an application to call
|
|
|
|
{@link android.app.ActivityManager#forceStopPackage}.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.FORCE_STOP_PACKAGES"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:label="@string/permlab_forceStopPackages"
|
|
|
|
android:description="@string/permdesc_forceStopPackages" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2011-07-29 15:52:05 -07:00
|
|
|
<!-- @hide Allows an application to retrieve the content of the active window
|
2011-04-20 12:12:33 -07:00
|
|
|
An active window is the window that has fired an accessibility event. -->
|
|
|
|
<permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2011-04-20 12:12:33 -07:00
|
|
|
android:label="@string/permlab_retrieve_window_content"
|
|
|
|
android:description="@string/permdesc_retrieve_window_content" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Modify the global animation scaling factor. -->
|
|
|
|
<permission android:name="android.permission.SET_ANIMATION_SCALE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-04-30 16:33:56 -07:00
|
|
|
android:protectionLevel="signature|system|development"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_setAnimationScale"
|
|
|
|
android:description="@string/permdesc_setAnimationScale" />
|
|
|
|
|
2010-09-01 17:34:12 -07:00
|
|
|
<!-- @deprecated This functionality will be removed in the future; please do
|
2012-04-13 13:51:48 -07:00
|
|
|
not use. Allow an application to make its activities persistent. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.PERSISTENT_ACTIVITY"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:protectionLevel="normal"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_persistentActivity"
|
|
|
|
android:description="@string/permdesc_persistentActivity" />
|
|
|
|
|
|
|
|
<!-- Allows an application to find out the space used by any package. -->
|
|
|
|
<permission android:name="android.permission.GET_PACKAGE_SIZE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_getPackageSize"
|
|
|
|
android:description="@string/permdesc_getPackageSize" />
|
|
|
|
|
2009-12-01 14:31:55 -08:00
|
|
|
<!-- @deprecated No longer useful, see
|
|
|
|
{@link android.content.pm.PackageManager#addPackageToPreferred}
|
|
|
|
for details. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-03-10 18:27:09 -08:00
|
|
|
android:protectionLevel="signature"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_setPreferredApplications"
|
|
|
|
android:description="@string/permdesc_setPreferredApplications" />
|
|
|
|
|
|
|
|
<!-- Allows an application to receive the
|
|
|
|
{@link android.content.Intent#ACTION_BOOT_COMPLETED} that is
|
|
|
|
broadcast after the system finishes booting. If you don't
|
|
|
|
request this permission, you will not receive the broadcast at
|
|
|
|
that time. Though holding this permission does not have any
|
|
|
|
security implications, it can have a negative impact on the
|
|
|
|
user experience by increasing the amount of time it takes the
|
|
|
|
system to start and allowing applications to have themselves
|
|
|
|
running without the user being aware of them. As such, you must
|
|
|
|
explicitly declare your use of this facility to make that visible
|
|
|
|
to the user. -->
|
|
|
|
<permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.APP_INFO"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_receiveBootCompleted"
|
|
|
|
android:description="@string/permdesc_receiveBootCompleted" />
|
|
|
|
|
|
|
|
<!-- Allows an application to broadcast sticky intents. These are
|
|
|
|
broadcasts whose data is held by the system after being finished,
|
|
|
|
so that clients can quickly retrieve that data without having
|
|
|
|
to wait for the next broadcast. -->
|
|
|
|
<permission android:name="android.permission.BROADCAST_STICKY"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="normal"
|
|
|
|
android:label="@string/permlab_broadcastSticky"
|
|
|
|
android:description="@string/permdesc_broadcastSticky" />
|
|
|
|
|
|
|
|
<!-- Allows mounting and unmounting file systems for removable storage. -->
|
|
|
|
<permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:protectionLevel="system|signature"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_mount_unmount_filesystems"
|
|
|
|
android:description="@string/permdesc_mount_unmount_filesystems" />
|
|
|
|
|
|
|
|
<!-- Allows formatting file systems for removable storage. -->
|
|
|
|
<permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:protectionLevel="system|signature"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_mount_format_filesystems"
|
|
|
|
android:description="@string/permdesc_mount_format_filesystems" />
|
|
|
|
|
2010-01-26 15:18:08 -08:00
|
|
|
<!-- Allows access to ASEC non-destructive API calls
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_ACCESS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-03-22 10:30:13 -07:00
|
|
|
android:protectionLevel="signature"
|
2010-01-26 15:18:08 -08:00
|
|
|
android:label="@string/permlab_asec_access"
|
|
|
|
android:description="@string/permdesc_asec_access" />
|
|
|
|
|
|
|
|
<!-- Allows creation of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_CREATE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-03-22 10:30:13 -07:00
|
|
|
android:protectionLevel="signature"
|
2010-01-26 15:18:08 -08:00
|
|
|
android:label="@string/permlab_asec_create"
|
|
|
|
android:description="@string/permdesc_asec_create" />
|
|
|
|
|
|
|
|
<!-- Allows destruction of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_DESTROY"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-03-22 10:30:13 -07:00
|
|
|
android:protectionLevel="signature"
|
2010-01-26 15:18:08 -08:00
|
|
|
android:label="@string/permlab_asec_destroy"
|
|
|
|
android:description="@string/permdesc_asec_destroy" />
|
|
|
|
|
|
|
|
<!-- Allows mount / unmount of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_MOUNT_UNMOUNT"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-03-22 10:30:13 -07:00
|
|
|
android:protectionLevel="signature"
|
2010-01-26 15:18:08 -08:00
|
|
|
android:label="@string/permlab_asec_mount_unmount"
|
|
|
|
android:description="@string/permdesc_asec_mount_unmount" />
|
|
|
|
|
|
|
|
<!-- Allows rename of ASEC volumes
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ASEC_RENAME"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2010-03-22 10:30:13 -07:00
|
|
|
android:protectionLevel="signature"
|
2010-01-26 15:18:08 -08:00
|
|
|
android:label="@string/permlab_asec_rename"
|
|
|
|
android:description="@string/permdesc_asec_rename" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows applications to write the apn settings -->
|
|
|
|
<permission android:name="android.permission.WRITE_APN_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:description="@string/permdesc_writeApnSettings"
|
|
|
|
android:label="@string/permlab_writeApnSettings" />
|
|
|
|
|
2009-03-24 22:48:12 -07:00
|
|
|
<!-- Allows an application to allow access the subscribed feeds
|
2009-03-03 19:31:44 -08:00
|
|
|
ContentProvider. -->
|
|
|
|
<permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:label="@string/permlab_subscribedFeedsRead"
|
|
|
|
android:description="@string/permdesc_subscribedFeedsRead"
|
|
|
|
android:protectionLevel="normal" />
|
|
|
|
<permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:label="@string/permlab_subscribedFeedsWrite"
|
|
|
|
android:description="@string/permdesc_subscribedFeedsWrite"
|
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows applications to change network connectivity state -->
|
|
|
|
<permission android:name="android.permission.CHANGE_NETWORK_STATE"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.NETWORK"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:protectionLevel="normal"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:description="@string/permdesc_changeNetworkState"
|
|
|
|
android:label="@string/permlab_changeNetworkState" />
|
|
|
|
|
|
|
|
<!-- Allows an application to clear the caches of all installed
|
|
|
|
applications on the device. -->
|
|
|
|
<permission android:name="android.permission.CLEAR_APP_CACHE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/permlab_clearAppCache"
|
|
|
|
android:description="@string/permdesc_clearAppCache" />
|
|
|
|
|
2011-11-07 14:35:20 -08:00
|
|
|
<!-- Allows an application to use any media decoder when decoding for playback
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system"
|
2011-11-07 14:35:20 -08:00
|
|
|
android:label="@string/permlab_anyCodecForPlayback"
|
|
|
|
android:description="@string/permdesc_anyCodecForPlayback" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- ========================================= -->
|
|
|
|
<!-- Permissions for special development tools -->
|
|
|
|
<!-- ========================================= -->
|
|
|
|
<eat-comment />
|
2009-03-24 22:48:12 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Group of permissions that are related to development features. These
|
|
|
|
are not permissions that should appear in normal applications; they
|
|
|
|
protect APIs that are intended only to be used for development
|
|
|
|
purposes. -->
|
|
|
|
<permission-group android:name="android.permission-group.DEVELOPMENT_TOOLS"
|
|
|
|
android:label="@string/permgrouplab_developmentTools"
|
2012-09-13 00:24:38 -07:00
|
|
|
android:description="@string/permgroupdesc_developmentTools"
|
|
|
|
android:priority="310" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-02-21 15:11:13 -08:00
|
|
|
<!-- Allows an application to read or write the secure system settings. -->
|
|
|
|
<permission android:name="android.permission.WRITE_SECURE_SETTINGS"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
|
|
|
android:protectionLevel="signature|system|development"
|
|
|
|
android:label="@string/permlab_writeSecureSettings"
|
|
|
|
android:description="@string/permdesc_writeSecureSettings" />
|
|
|
|
|
|
|
|
<!-- Allows an application to retrieve state dump information from system
|
|
|
|
services. -->
|
|
|
|
<permission android:name="android.permission.DUMP"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
|
|
|
android:protectionLevel="signature|system|development"
|
|
|
|
android:label="@string/permlab_dump"
|
|
|
|
android:description="@string/permdesc_dump" />
|
|
|
|
|
2012-03-23 10:06:06 -07:00
|
|
|
<!-- Allows an application to read the low-level system log files.
|
|
|
|
Log entries can contain the user's private information,
|
|
|
|
which is why this permission is not available to normal apps. -->
|
|
|
|
<permission android:name="android.permission.READ_LOGS"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
|
|
|
android:protectionLevel="signature|system|development"
|
|
|
|
android:label="@string/permlab_readLogs"
|
|
|
|
android:description="@string/permdesc_readLogs" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Configure an application for debugging. -->
|
|
|
|
<permission android:name="android.permission.SET_DEBUG_APP"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
2012-04-06 13:39:09 -07:00
|
|
|
android:protectionLevel="signature|system|development"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_setDebugApp"
|
|
|
|
android:description="@string/permdesc_setDebugApp" />
|
|
|
|
|
|
|
|
<!-- Allows an application to set the maximum number of (not needed)
|
|
|
|
application processes that can be running. -->
|
|
|
|
<permission android:name="android.permission.SET_PROCESS_LIMIT"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
2012-04-06 13:39:09 -07:00
|
|
|
android:protectionLevel="signature|system|development"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_setProcessLimit"
|
|
|
|
android:description="@string/permdesc_setProcessLimit" />
|
|
|
|
|
|
|
|
<!-- Allows an application to control whether activities are immediately
|
|
|
|
finished when put in the background. -->
|
|
|
|
<permission android:name="android.permission.SET_ALWAYS_FINISH"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
2012-04-06 13:39:09 -07:00
|
|
|
android:protectionLevel="signature|system|development"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_setAlwaysFinish"
|
|
|
|
android:description="@string/permdesc_setAlwaysFinish" />
|
|
|
|
|
|
|
|
<!-- Allow an application to request that a signal be sent to all persistent processes -->
|
|
|
|
<permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES"
|
|
|
|
android:permissionGroup="android.permission-group.DEVELOPMENT_TOOLS"
|
2012-04-06 13:39:09 -07:00
|
|
|
android:protectionLevel="signature|system|development"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_signalPersistentProcesses"
|
|
|
|
android:description="@string/permdesc_signalPersistentProcesses" />
|
|
|
|
|
|
|
|
<!-- ==================================== -->
|
|
|
|
<!-- Private (signature-only) permissions -->
|
|
|
|
<!-- ==================================== -->
|
|
|
|
<eat-comment />
|
|
|
|
|
|
|
|
<!-- Allows applications to RW to diagnostic resources. -->
|
|
|
|
<permission android:name="android.permission.DIAGNOSTIC"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:description="@string/permdesc_diagnostic"
|
|
|
|
android:label="@string/permlab_diagnostic" />
|
|
|
|
|
|
|
|
<!-- Allows an application to open, close, or disable the status bar
|
|
|
|
and its icons. -->
|
|
|
|
<permission android:name="android.permission.STATUS_BAR"
|
|
|
|
android:label="@string/permlab_statusBar"
|
|
|
|
android:description="@string/permdesc_statusBar"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-06-04 16:21:12 -04:00
|
|
|
<!-- Allows an application to be the status bar. Currently used only by SystemUI.apk
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.STATUS_BAR_SERVICE"
|
|
|
|
android:label="@string/permlab_statusBarService"
|
|
|
|
android:description="@string/permdesc_statusBarService"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to force a BACK operation on whatever is the
|
|
|
|
top activity. -->
|
|
|
|
<permission android:name="android.permission.FORCE_BACK"
|
|
|
|
android:label="@string/permlab_forceBack"
|
|
|
|
android:description="@string/permdesc_forceBack"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to update device statistics. Not for
|
|
|
|
use by third party apps. -->
|
|
|
|
<permission android:name="android.permission.UPDATE_DEVICE_STATS"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:label="@string/permlab_updateBatteryStats"
|
|
|
|
android:description="@string/permdesc_updateBatteryStats"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2013-01-14 17:38:02 -08:00
|
|
|
<!-- @hide Allows an application to collect battery statistics -->
|
|
|
|
<permission android:name="android.permission.GET_APP_OPS_STATS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:label="@string/permlab_getAppOpsStats"
|
|
|
|
android:description="@string/permdesc_getAppOpsStats"
|
|
|
|
android:protectionLevel="signature|system|development" />
|
|
|
|
|
2012-12-11 16:34:47 -08:00
|
|
|
<!-- Allows an application to update application operation statistics. Not for
|
|
|
|
use by third party apps. @hide -->
|
|
|
|
<permission android:name="android.permission.UPDATE_APP_OPS_STATS"
|
|
|
|
android:label="@string/permlab_updateAppOpsStats"
|
|
|
|
android:description="@string/permdesc_updateAppOpsStats"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to open windows that are for use by parts
|
|
|
|
of the system user interface. Not for use by third party apps. -->
|
|
|
|
<permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"
|
|
|
|
android:label="@string/permlab_internalSystemWindow"
|
|
|
|
android:description="@string/permdesc_internalSystemWindow"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to manage (create, destroy,
|
|
|
|
Z-order) application tokens in the window manager. This is only
|
|
|
|
for use by the system. -->
|
|
|
|
<permission android:name="android.permission.MANAGE_APP_TOKENS"
|
|
|
|
android:label="@string/permlab_manageAppTokens"
|
|
|
|
android:description="@string/permdesc_manageAppTokens"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-10 15:33:52 -07:00
|
|
|
<!-- @hide Allows the application to temporarily freeze the screen for a
|
|
|
|
full-screen transition. -->
|
|
|
|
<permission android:name="android.permission.FREEZE_SCREEN"
|
|
|
|
android:label="@string/permlab_freezeScreen"
|
|
|
|
android:description="@string/permdesc_freezeScreen"
|
|
|
|
android:protectionLevel="signature" />
|
2013-02-12 10:03:14 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to inject user events (keys, touch, trackball)
|
|
|
|
into the event stream and deliver them to ANY window. Without this
|
|
|
|
permission, you can only deliver events to windows in your own process.
|
|
|
|
Very few applications should need to use this permission. -->
|
|
|
|
<permission android:name="android.permission.INJECT_EVENTS"
|
|
|
|
android:label="@string/permlab_injectEvents"
|
|
|
|
android:description="@string/permdesc_injectEvents"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-07-16 08:46:07 -07:00
|
|
|
<!-- @hide Allows an application to register an input filter which filters the stream
|
|
|
|
of user events (keys, touch, trackball) before they are dispatched to any window. -->
|
|
|
|
<permission android:name="android.permission.FILTER_EVENTS"
|
|
|
|
android:label="@string/permlab_filter_events"
|
|
|
|
android:description="@string/permdesc_filter_events"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- @hide Allows an application to retrieve info for a window from the window manager. -->
|
|
|
|
<permission android:name="android.permission.RETRIEVE_WINDOW_INFO"
|
|
|
|
android:label="@string/permlab_retrieve_window_info"
|
|
|
|
android:description="@string/permdesc_retrieve_window_info"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-27 16:49:23 -07:00
|
|
|
<!-- @hide Allows an application to temporary enable accessibility on the device. -->
|
|
|
|
<permission android:name="android.permission.TEMPORARY_ENABLE_ACCESSIBILITY"
|
|
|
|
android:label="@string/permlab_temporary_enable_accessibility"
|
|
|
|
android:description="@string/permdesc_temporary_enable_accessibility"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
Screen magnification - feature - framework.
This change is the initial check in of the screen magnification
feature. This feature enables magnification of the screen via
global gestures (assuming it has been enabled from settings)
to allow a low vision user to efficiently use an Android device.
Interaction model:
1. Triple tap toggles permanent screen magnification which is magnifying
the area around the location of the triple tap. One can think of the
location of the triple tap as the center of the magnified viewport.
For example, a triple tap when not magnified would magnify the screen
and leave it in a magnified state. A triple tapping when magnified would
clear magnification and leave the screen in a not magnified state.
2. Triple tap and hold would magnify the screen if not magnified and enable
viewport dragging mode until the finger goes up. One can think of this
mode as a way to move the magnified viewport since the area around the
moving finger will be magnified to fit the screen. For example, if the
screen was not magnified and the user triple taps and holds the screen
would magnify and the viewport will follow the user's finger. When the
finger goes up the screen will clear zoom out. If the same user interaction
is performed when the screen is magnified, the viewport movement will
be the same but when the finger goes up the screen will stay magnified.
In other words, the initial magnified state is sticky.
3. Pinching with any number of additional fingers when viewport dragging
is enabled, i.e. the user triple tapped and holds, would adjust the
magnification scale which will become the current default magnification
scale. The next time the user magnifies the same magnification scale
would be used.
4. When in a permanent magnified state the user can use two or more fingers
to pan the viewport. Note that in this mode the content is panned as
opposed to the viewport dragging mode in which the viewport is moved.
5. When in a permanent magnified state the user can use three or more
fingers to change the magnification scale which will become the current
default magnification scale. The next time the user magnifies the same
magnification scale would be used.
6. The magnification scale will be persisted in settings and in the cloud.
Note: Since two fingers are used to pan the content in a permanently magnified
state no other two finger gestures in touch exploration or applications
will work unless the uses zooms out to normal state where all gestures
works as expected. This is an intentional tradeoff to allow efficient
panning since in a permanently magnified state this would be the dominant
action to be performed.
Design:
1. The window manager exposes APIs for setting accessibility transformation
which is a scale and offsets for X and Y axis. The window manager queries
the window policy for which windows will not be magnified. For example,
the IME windows and the navigation bar are not magnified including windows
that are attached to them.
2. The accessibility features such a screen magnification and touch
exploration are now impemented as a sequence of transformations on the
event stream. The accessibility manager service may request each
of these features or both. The behavior of the features is not changed
based on the fact that another one is enabled.
3. The screen magnifier keeps a viewport of the content that is magnified
which is surrounded by a glow in a magnified state. Interactions outside
of the viewport are delegated directly to the application without
interpretation. For example, a triple tap on the letter 'a' of the IME
would type three letters instead of toggling magnified state. The viewport
is updated on screen rotation and on window transitions. For example,
when the IME pops up the viewport shrinks.
4. The glow around the viewport is implemented as a special type of window
that does not take input focus, cannot be touched, is laid out in the
screen coordiates with width and height matching these of the screen.
When the magnified region changes the root view of the window draws the
hightlight but the size of the window does not change - unless a rotation
happens. All changes in the viewport size or showing or hiding it are
animated.
5. The viewport is encapsulated in a class that knows how to show,
hide, and resize the viewport - potentially animating that.
This class uses the new animation framework for animations.
6. The magnification is handled by a magnification controller that
keeps track of the current trnasformation to be applied to the screen
content and the desired such. If these two are not the same it is
responsibility of the magnification controller to reconcile them by
potentially animating the transition from one to the other.
7. A dipslay content observer wathces for winodw transitions, screen
rotations, and when a rectange on the screen has been reqeusted. This
class is responsible for handling interesting state changes such
as changing the viewport bounds on IME pop up or screen rotation,
panning the content to make a requested rectangle visible on the
screen, etc.
8. To implement viewport updates the window manger was updated with APIs
to watch for window transitions and when a rectangle has been requested
on the screen. These APIs are protected by a signature level permission.
Also a parcelable and poolable window info class has been added with
APIs for getting the window info given the window token. This enables
getting some useful information about a window. There APIs are also
signature protected.
bug:6795382
Change-Id: Iec93da8bf6376beebbd4f5167ab7723dc7d9bd00
2012-08-06 10:53:34 -07:00
|
|
|
<!-- @hide Allows an application to magnify the content of a display. -->
|
|
|
|
<permission android:name="android.permission.MAGNIFY_DISPLAY"
|
|
|
|
android:label="@string/permlab_magnify_display"
|
|
|
|
android:description="@string/permdesc_magnify_display"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to watch and control how activities are
|
|
|
|
started globally in the system. Only for is in debugging
|
|
|
|
(usually the monkey command). -->
|
|
|
|
<permission android:name="android.permission.SET_ACTIVITY_WATCHER"
|
|
|
|
android:label="@string/permlab_runSetActivityWatcher"
|
|
|
|
android:description="@string/permdesc_runSetActivityWatcher"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-05-19 18:37:45 -07:00
|
|
|
<!-- Allows an application to call the activity manager shutdown() API
|
2009-07-28 00:13:47 -07:00
|
|
|
to put the higher-level system there into a shutdown state.
|
|
|
|
@hide -->
|
2009-05-07 15:53:46 -07:00
|
|
|
<permission android:name="android.permission.SHUTDOWN"
|
|
|
|
android:label="@string/permlab_shutdown"
|
|
|
|
android:description="@string/permdesc_shutdown"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-07 15:53:46 -07:00
|
|
|
|
2009-05-19 18:37:45 -07:00
|
|
|
<!-- Allows an application to tell the activity manager to temporarily
|
|
|
|
stop application switches, putting it into a special mode that
|
|
|
|
prevents applications from immediately switching away from some
|
2009-07-28 00:13:47 -07:00
|
|
|
critical UI such as the home screen.
|
|
|
|
@hide -->
|
2009-05-19 18:37:45 -07:00
|
|
|
<permission android:name="android.permission.STOP_APP_SWITCHES"
|
|
|
|
android:label="@string/permlab_stopAppSwitches"
|
|
|
|
android:description="@string/permdesc_stopAppSwitches"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-19 18:37:45 -07:00
|
|
|
|
2013-01-23 14:39:13 -08:00
|
|
|
<!-- Allows an application to retrieve private information about
|
|
|
|
the current top activity, such as any assist context it can provide. -->
|
|
|
|
<permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
|
|
|
|
android:label="@string/permlab_getTopActivityInfo"
|
|
|
|
android:description="@string/permdesc_getTopActivityInfo"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to retrieve the current state of keys and
|
2012-04-05 18:57:33 -07:00
|
|
|
switches. This is only for use by the system.
|
|
|
|
@deprecated The API that used this permission has been removed. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.READ_INPUT_STATE"
|
|
|
|
android:label="@string/permlab_readInputState"
|
|
|
|
android:description="@string/permdesc_readInputState"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2010-01-12 18:14:19 -08:00
|
|
|
<!-- Must be required by an {@link android.inputmethodservice.InputMethodService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.BIND_INPUT_METHOD"
|
|
|
|
android:label="@string/permlab_bindInputMethod"
|
|
|
|
android:description="@string/permdesc_bindInputMethod"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
Remove "enhance web scripts" from settings and make it requested by plug-ins.
Currently we have an "enhance web accessibility" setting that has to be
enabled to make sure web content is accessible. We added the setting to
get user consent because we are injecting JavaScript-based screen-reader
pulled from the Google infrastructure. However, many users do not know
that and (as expected) do not read the user documentation, resulting in
critique for lacking accessibility support in WebViews with JavaScript
enabled (Browser, Gmail, etc).
To smoothen the user experience now "enhance web accessibility" is a
feature an accessibility plug-in can request, similarly to explore by
touch. Now a user does not need to know that she has to explicitly
enable the setting and web accessibility will work out-of-the-box.
Before we were showing a dialog when a plug-in tries to put the device
in a touch exploration mode. However, now that we have one more feature
a plug-in can request, showing two dialogs (assume a plug-in wants both
features) will mean that a user should potentially deal with three
dialogs, one for enabling the service, and one for each feature. We
could merge the dialogs but still the user has to poke two dialogs.
It seems that the permission mechanism is a perfect fit for getting
user permission for an app to do something, in this case to enable
an accessibility feature. We need a separate permission for explore
by touch and enhance web accessibility since the former changes the
interaction model and the latter injects JavaScript in web pages. It
is critical to get user consent for the script injection part so we
need a well-documented permission rather a vague umbrella permission
for poking accessibility features. To allow better grouping of the
accessibility permissions this patch adds a permission group as well.
bug:8089372
Change-Id: Ic125514c34f191aea0416a469e4b3481ab3200b9
2013-01-29 01:04:35 -08:00
|
|
|
<!-- Must be required by an {@link android.accessibilityservice.AccessibilityService},
|
2012-06-05 17:38:50 -07:00
|
|
|
to ensure that only the system can bind to it. -->
|
2012-05-16 18:27:34 -07:00
|
|
|
<permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
|
|
|
|
android:label="@string/permlab_bindAccessibilityService"
|
|
|
|
android:description="@string/permdesc_bindAccessibilityService"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-06-22 16:38:13 +09:00
|
|
|
<!-- Must be required by a TextService (e.g. SpellCheckerService)
|
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_TEXT_SERVICE"
|
|
|
|
android:label="@string/permlab_bindTextService"
|
|
|
|
android:description="@string/permdesc_bindTextService"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-08-03 17:38:49 -07:00
|
|
|
<!-- Must be required by an {@link android.net.VpnService},
|
2011-08-08 18:26:28 -07:00
|
|
|
to ensure that only the system can bind to it. -->
|
2011-08-03 17:38:49 -07:00
|
|
|
<permission android:name="android.permission.BIND_VPN_SERVICE"
|
|
|
|
android:label="@string/permlab_bindVpnService"
|
|
|
|
android:description="@string/permdesc_bindVpnService"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2010-01-12 18:14:19 -08:00
|
|
|
<!-- Must be required by a {@link android.service.wallpaper.WallpaperService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
2009-08-08 20:40:27 -07:00
|
|
|
<permission android:name="android.permission.BIND_WALLPAPER"
|
|
|
|
android:label="@string/permlab_bindWallpaper"
|
|
|
|
android:description="@string/permdesc_bindWallpaper"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-08-08 20:40:27 -07:00
|
|
|
|
2010-01-12 18:14:19 -08:00
|
|
|
<!-- Must be required by device administration receiver, to ensure that only the
|
|
|
|
system can interact with it. -->
|
|
|
|
<permission android:name="android.permission.BIND_DEVICE_ADMIN"
|
|
|
|
android:label="@string/permlab_bindDeviceAdmin"
|
|
|
|
android:description="@string/permdesc_bindDeviceAdmin"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows low-level access to setting the orientation (actually
|
|
|
|
rotation) of the screen. Not for use by normal applications. -->
|
|
|
|
<permission android:name="android.permission.SET_ORIENTATION"
|
|
|
|
android:label="@string/permlab_setOrientation"
|
|
|
|
android:description="@string/permdesc_setOrientation"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-06-02 01:26:32 -07:00
|
|
|
<!-- Allows low-level access to setting the pointer speed.
|
|
|
|
Not for use by normal applications. -->
|
|
|
|
<permission android:name="android.permission.SET_POINTER_SPEED"
|
|
|
|
android:label="@string/permlab_setPointerSpeed"
|
|
|
|
android:description="@string/permdesc_setPointerSpeed"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-04-10 14:30:49 -07:00
|
|
|
<!-- Allows low-level access to setting the keyboard layout.
|
2012-05-07 19:06:06 -07:00
|
|
|
Not for use by normal applications.
|
|
|
|
@hide -->
|
2012-04-10 14:30:49 -07:00
|
|
|
<permission android:name="android.permission.SET_KEYBOARD_LAYOUT"
|
|
|
|
android:label="@string/permlab_setKeyboardLayout"
|
|
|
|
android:description="@string/permdesc_setKeyboardLayout"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to install packages. -->
|
|
|
|
<permission android:name="android.permission.INSTALL_PACKAGES"
|
|
|
|
android:label="@string/permlab_installPackages"
|
|
|
|
android:description="@string/permdesc_installPackages"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to clear user data -->
|
|
|
|
<permission android:name="android.permission.CLEAR_APP_USER_DATA"
|
|
|
|
android:label="@string/permlab_clearAppUserData"
|
|
|
|
android:description="@string/permdesc_clearAppUserData"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to delete cache files. -->
|
|
|
|
<permission android:name="android.permission.DELETE_CACHE_FILES"
|
|
|
|
android:label="@string/permlab_deleteCacheFiles"
|
|
|
|
android:description="@string/permdesc_deleteCacheFiles"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to delete packages. -->
|
|
|
|
<permission android:name="android.permission.DELETE_PACKAGES"
|
|
|
|
android:label="@string/permlab_deletePackages"
|
|
|
|
android:description="@string/permdesc_deletePackages"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-03-30 23:37:25 -07:00
|
|
|
<!-- Allows an application to move location of installed package.
|
|
|
|
@hide -->
|
2010-02-19 09:19:34 -08:00
|
|
|
<permission android:name="android.permission.MOVE_PACKAGE"
|
|
|
|
android:label="@string/permlab_movePackage"
|
|
|
|
android:description="@string/permdesc_movePackage"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-02-19 09:19:34 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows an application to change whether an application component (other than its own) is
|
|
|
|
enabled or not. -->
|
|
|
|
<permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"
|
|
|
|
android:label="@string/permlab_changeComponentState"
|
|
|
|
android:description="@string/permdesc_changeComponentState"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
|
|
|
<!-- @hide Allows an application to grant or revoke specific permissions. -->
|
|
|
|
<permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS"
|
|
|
|
android:label="@string/permlab_grantRevokePermissions"
|
|
|
|
android:description="@string/permdesc_grantRevokePermissions"
|
|
|
|
android:protectionLevel="signature" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to use SurfaceFlinger's low level features -->
|
|
|
|
<permission android:name="android.permission.ACCESS_SURFACE_FLINGER"
|
|
|
|
android:label="@string/permlab_accessSurfaceFlinger"
|
|
|
|
android:description="@string/permdesc_accessSurfaceFlinger"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to take screen shots and more generally
|
|
|
|
get access to the frame buffer data -->
|
|
|
|
<permission android:name="android.permission.READ_FRAME_BUFFER"
|
|
|
|
android:label="@string/permlab_readFrameBuffer"
|
|
|
|
android:description="@string/permdesc_readFrameBuffer"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-09-07 17:41:02 -07:00
|
|
|
<!-- Allows an application to configure and connect to Wifi displays
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
|
|
|
|
android:label="@string/permlab_configureWifiDisplay"
|
|
|
|
android:description="@string/permdesc_configureWifiDisplay"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to control low-level features of Wifi displays
|
|
|
|
such as opening an RTSP socket. This permission should only be used
|
|
|
|
by the display manager.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
|
|
|
|
android:label="@string/permlab_controlWifiDisplay"
|
|
|
|
android:description="@string/permdesc_controlWifiDisplay"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Required to be able to disable the device (very dangerous!). -->
|
|
|
|
<permission android:name="android.permission.BRICK"
|
|
|
|
android:label="@string/permlab_brick"
|
|
|
|
android:description="@string/permdesc_brick"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Required to be able to reboot the device. -->
|
|
|
|
<permission android:name="android.permission.REBOOT"
|
|
|
|
android:label="@string/permlab_reboot"
|
|
|
|
android:description="@string/permdesc_reboot"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows low-level access to power management -->
|
|
|
|
<permission android:name="android.permission.DEVICE_POWER"
|
|
|
|
android:label="@string/permlab_devicePower"
|
|
|
|
android:description="@string/permdesc_devicePower"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2012-09-17 17:20:24 -07:00
|
|
|
<!-- @hide Allows low-level access to tun tap driver -->
|
2012-04-12 00:02:00 -07:00
|
|
|
<permission android:name="android.permission.NET_TUNNELING"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Run as a manufacturer test application, running as the root user.
|
|
|
|
Only available when the device is running in manufacturer test mode. -->
|
|
|
|
<permission android:name="android.permission.FACTORY_TEST"
|
|
|
|
android:label="@string/permlab_factoryTest"
|
|
|
|
android:description="@string/permdesc_factoryTest"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to broadcast a notification that an application
|
|
|
|
package has been removed. -->
|
|
|
|
<permission android:name="android.permission.BROADCAST_PACKAGE_REMOVED"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:label="@string/permlab_broadcastPackageRemoved"
|
|
|
|
android:description="@string/permdesc_broadcastPackageRemoved"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to broadcast an SMS receipt notification -->
|
|
|
|
<permission android:name="android.permission.BROADCAST_SMS"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:label="@string/permlab_broadcastSmsReceived"
|
|
|
|
android:description="@string/permdesc_broadcastSmsReceived"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows an application to broadcast a WAP PUSH receipt notification -->
|
|
|
|
<permission android:name="android.permission.BROADCAST_WAP_PUSH"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:label="@string/permlab_broadcastWapPush"
|
|
|
|
android:description="@string/permdesc_broadcastWapPush"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<permission android:name="android.permission.MASTER_CLEAR"
|
|
|
|
android:label="@string/permlab_masterClear"
|
|
|
|
android:description="@string/permdesc_masterClear"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to call any phone number, including emergency
|
|
|
|
numbers, without going through the Dialer user interface for the user
|
|
|
|
to confirm the call being placed. -->
|
|
|
|
<permission android:name="android.permission.CALL_PRIVILEGED"
|
|
|
|
android:label="@string/permlab_callPrivileged"
|
|
|
|
android:description="@string/permdesc_callPrivileged"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-08-25 19:33:57 -07:00
|
|
|
<!-- Allows an application to perform CDMA OTA provisioning @hide -->
|
|
|
|
<permission android:name="android.permission.PERFORM_CDMA_PROVISIONING"
|
|
|
|
android:label="@string/permlab_performCdmaProvisioning"
|
|
|
|
android:description="@string/permdesc_performCdmaProvisioning"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-08-25 19:33:57 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows enabling/disabling location update notifications from
|
|
|
|
the radio. Not for use by normal applications. -->
|
|
|
|
<permission android:name="android.permission.CONTROL_LOCATION_UPDATES"
|
|
|
|
android:label="@string/permlab_locationUpdates"
|
|
|
|
android:description="@string/permdesc_locationUpdates"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows read/write access to the "properties" table in the checkin
|
|
|
|
database, to change values that get uploaded. -->
|
|
|
|
<permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"
|
|
|
|
android:label="@string/permlab_checkinProperties"
|
|
|
|
android:description="@string/permdesc_checkinProperties"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to collect component usage
|
2009-03-25 15:09:04 -07:00
|
|
|
statistics @hide -->
|
2009-03-03 19:31:44 -08:00
|
|
|
<permission android:name="android.permission.PACKAGE_USAGE_STATS"
|
|
|
|
android:label="@string/permlab_pkgUsageStats"
|
|
|
|
android:description="@string/permdesc_pkgUsageStats"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
<!-- Allows an application to collect battery statistics -->
|
|
|
|
<permission android:name="android.permission.BATTERY_STATS"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:label="@string/permlab_batteryStats"
|
|
|
|
android:description="@string/permdesc_batteryStats"
|
2012-09-16 16:03:36 -07:00
|
|
|
android:protectionLevel="dangerous" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-05-14 11:12:14 -07:00
|
|
|
<!-- Allows an application to control the backup and restore process
|
|
|
|
@hide pending API council -->
|
|
|
|
<permission android:name="android.permission.BACKUP"
|
|
|
|
android:label="@string/permlab_backup"
|
|
|
|
android:description="@string/permdesc_backup"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-05-14 11:12:14 -07:00
|
|
|
|
Full local backup infrastructure
This is the basic infrastructure for pulling a full(*) backup of the
device's data over an adb(**) connection to the local device. The
basic process consists of these interacting pieces:
1. The framework's BackupManagerService, which coordinates the
collection of app data and routing to the destination.
2. A new framework-provided BackupAgent implementation called
FullBackupAgent, which is instantiated in the target applications'
processes in turn, and knows how to emit a datastream that contains
all of the app's saved data files.
3. A new shell-level program called "bu" that is used to bridge from
adb to the framework's Backup Manager.
4. adb itself, which now knows how to use 'bu' to kick off a backup
operation and pull the resulting data stream to the desktop host.
5. A system-provided application that verifies with the user that
an attempted backup/restore operation is in fact expected and to
be allowed.
The full agent implementation is not used during normal operation of
the delta-based app-customized remote backup process. Instead it's
used during user-confirmed *full* backup of applications and all their
data to a local destination, e.g. via the adb connection.
The output format is 'tar'. This makes it very easy for the end
user to examine the resulting dataset, e.g. for purpose of extracting
files for debug purposes; as well as making it easy to contemplate
adding things like a direct gzip stage to the data pipeline during
backup/restore. It also makes it convenient to construct and maintain
synthetic backup datasets for testing purposes.
Within the tar format, certain artificial conventions are used.
All files are stored within top-level directories according to
their semantic origin:
apps/pkgname/a/ : Application .apk file itself
apps/pkgname/obb/: The application's associated .obb containers
apps/pkgname/f/ : The subtree rooted at the getFilesDir() location
apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent
apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent
apps/pkgname/r/ : Files stored relative to the root of the app's file tree
apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored.
For each package, the first entry in the tar stream is a file called
"_manifest", nominally rooted at apps/pkgname. This file contains some
metadata about the package whose data is stored in the archive.
The contents of shared storage can optionally be included in the tar
stream. It is placed in the synthetic location:
shared/...
uid/gid are ignored; app uids are assigned at install time, and the
app's data is handled from within its own execution environment, so
will automatically have the app's correct uid.
Forward-locked .apk files are never backed up. System-partition
.apk files are not backed up unless they have been overridden by a
post-factory upgrade, in which case the current .apk *is* backed up --
i.e. the .apk that matches the on-disk data. The manifest preceding
each application's portion of the tar stream provides version numbers
and signature blocks for version checking, as well as an indication
of whether the restore logic should expect to install the .apk before
extracting the data.
System packages can designate their own full backup agents. This is
to manage things like the settings provider which (a) cannot be shut
down on the fly in order to do a clean snapshot of their file trees,
and (b) manage data that is not only irrelevant but actively hostile
to non-identical devices -- CDMA telephony settings would seriously
mess up a GSM device if emplaced there blind, for example.
When a full backup or restore is initiated from adb, the system will
present a confirmation UI that the user must explicitly respond to
within a short [~ 30 seconds] timeout. This is to avoid the
possibility of malicious desktop-side software secretly grabbing a copy
of all the user's data for nefarious purposes.
(*) The backup is not strictly a full mirror. In particular, the
settings database is not cloned; it is handled the same way that
it is in cloud backup/restore. This is because some settings
are actively destructive if cloned onto a different (or
especially a different-model) device: telephony settings and
AndroidID are good examples of this.
(**) On the framework side it doesn't care that it's adb; it just
sends the tar stream to a file descriptor. This can easily be
retargeted around whatever transport we might decide to use
in the future.
KNOWN ISSUES:
* the security UI is desperately ugly; no proper designs have yet
been done for it
* restore is not yet implemented
* shared storage backup is not yet implemented
* symlinks aren't yet handled, though some infrastructure for
dealing with them has been put in place.
Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
2011-04-01 14:43:32 -07:00
|
|
|
<!-- Allows a package to launch the secure full-backup confirmation UI.
|
|
|
|
ONLY the system process may hold this permission.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.CONFIRM_FULL_BACKUP"
|
|
|
|
android:label="@string/permlab_confirm_full_backup"
|
|
|
|
android:description="@string/permdesc_confirm_full_backup"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-01-11 18:05:01 -08:00
|
|
|
<!-- Must be required by a {@link android.widget.RemoteViewsService},
|
|
|
|
to ensure that only the system can bind to it. -->
|
|
|
|
<permission android:name="android.permission.BIND_REMOTEVIEWS"
|
|
|
|
android:label="@string/permlab_bindRemoteViews"
|
|
|
|
android:description="@string/permdesc_bindRemoteViews"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-01-11 18:05:01 -08:00
|
|
|
|
2009-03-11 12:11:56 -07:00
|
|
|
<!-- Allows an application to tell the AppWidget service which application
|
|
|
|
can access AppWidget's data. The normal user flow is that a user
|
|
|
|
picks an AppWidget to go into a particular host, thereby giving that
|
|
|
|
host application access to the private data from the AppWidget app.
|
2009-03-03 19:31:44 -08:00
|
|
|
An application that has this permission should honor that contract.
|
|
|
|
Very few applications should need to use this permission. -->
|
2009-03-11 12:11:56 -07:00
|
|
|
<permission android:name="android.permission.BIND_APPWIDGET"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:label="@string/permlab_bindGadget"
|
|
|
|
android:description="@string/permdesc_bindGadget"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2012-10-30 18:30:52 -07:00
|
|
|
<!-- Private permission, to restrict who can bring up a dialog to add a new
|
|
|
|
keyguard widget
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.BIND_KEYGUARD_APPWIDGET"
|
|
|
|
android:permissionGroup="android.permission-group.PERSONAL_INFO"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2012-04-13 10:39:45 -07:00
|
|
|
<!-- Internal permission allowing an application to query/set which
|
|
|
|
applications can bind AppWidgets.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<!-- Allows applications to change the background data setting
|
|
|
|
@hide pending API council -->
|
|
|
|
<permission android:name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature"
|
|
|
|
android:description="@string/permdesc_changeBackgroundDataSetting"
|
|
|
|
android:label="@string/permlab_changeBackgroundDataSetting" />
|
|
|
|
|
2009-07-08 14:56:37 -07:00
|
|
|
<!-- This permission can be used on content providers to allow the global
|
|
|
|
search system to access their data. Typically it used when the
|
|
|
|
provider has some permissions protecting it (which global search
|
|
|
|
would not be expected to hold), and added as a read-only permission
|
|
|
|
to the path in the provider where global search queries are
|
|
|
|
performed. This permission can not be held by regular applications;
|
|
|
|
it is used by applications to protect themselves from everyone else
|
|
|
|
besides global search. -->
|
|
|
|
<permission android:name="android.permission.GLOBAL_SEARCH"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-07-08 14:56:37 -07:00
|
|
|
|
|
|
|
<!-- Internal permission protecting access to the global search
|
|
|
|
system: ensures that only the system can access the provider
|
|
|
|
to perform queries (since this otherwise provides unrestricted
|
|
|
|
access to a variety of content providers), and to write the
|
|
|
|
search statistics (to keep applications from gaming the source
|
|
|
|
ranking).
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.GLOBAL_SEARCH_CONTROL"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2009-08-08 20:40:27 -07:00
|
|
|
<!-- Allows applications to set a live wallpaper.
|
2009-09-27 17:05:46 -07:00
|
|
|
@hide XXX Change to signature once the picker is moved to its
|
|
|
|
own apk as Ghod Intended. -->
|
2009-08-08 20:40:27 -07:00
|
|
|
<permission android:name="android.permission.SET_WALLPAPER_COMPONENT"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2009-08-08 20:40:27 -07:00
|
|
|
|
2012-08-25 12:08:03 -04:00
|
|
|
<!-- Allows applications to read dream settings and dream state.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.READ_DREAM_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
|
|
|
<!-- Allows applications to write dream settings, and start or stop dreaming.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.WRITE_DREAM_STATE"
|
|
|
|
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2010-03-30 23:37:25 -07:00
|
|
|
<!-- Allow an application to read and write the cache partition.
|
|
|
|
@hide -->
|
2010-01-06 15:02:52 -08:00
|
|
|
<permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM"
|
|
|
|
android:label="@string/permlab_cache_filesystem"
|
|
|
|
android:description="@string/permdesc_cache_filesystem"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2010-01-06 15:02:52 -08:00
|
|
|
|
2010-01-25 12:19:12 -08:00
|
|
|
<!-- Must be required by default container service so that only
|
|
|
|
the system can bind to it and use it to copy
|
|
|
|
protected data to secure containers or files
|
|
|
|
accessible to the system.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.COPY_PROTECTED_DATA"
|
|
|
|
android:label="@string/permlab_copyProtectedData"
|
|
|
|
android:description="@string/permlab_copyProtectedData"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-01-20 22:46:41 -06:00
|
|
|
<!-- Internal permission protecting access to the encryption methods
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.CRYPT_KEEPER"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-01-20 22:46:41 -06:00
|
|
|
|
2011-06-07 12:26:43 -07:00
|
|
|
<!-- Allows an application to read historical network usage for
|
|
|
|
specific networks and applications. @hide -->
|
|
|
|
<permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY"
|
|
|
|
android:label="@string/permlab_readNetworkUsageHistory"
|
|
|
|
android:description="@string/permdesc_readNetworkUsageHistory"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-06-07 12:26:43 -07:00
|
|
|
|
|
|
|
<!-- Allows an application to manage network policies (such as warning and disable
|
|
|
|
limits) and to define application-specific rules. @hide -->
|
|
|
|
<permission android:name="android.permission.MANAGE_NETWORK_POLICY"
|
|
|
|
android:label="@string/permlab_manageNetworkPolicy"
|
|
|
|
android:description="@string/permdesc_manageNetworkPolicy"
|
|
|
|
android:protectionLevel="signature" />
|
2011-01-20 22:46:41 -06:00
|
|
|
|
2011-05-02 17:51:29 -07:00
|
|
|
<!-- Allows an application to account its network traffic against other UIDs. Used
|
|
|
|
by system services like download manager and media server. Not for use by
|
|
|
|
third party apps. @hide -->
|
|
|
|
<permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING"
|
|
|
|
android:label="@string/permlab_modifyNetworkAccounting"
|
|
|
|
android:description="@string/permdesc_modifyNetworkAccounting"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-05-02 17:51:29 -07:00
|
|
|
|
2011-08-11 14:27:25 -07:00
|
|
|
<!-- C2DM permission.
|
2010-02-04 16:52:34 -08:00
|
|
|
@hide Used internally.
|
|
|
|
-->
|
2010-05-12 16:04:10 -07:00
|
|
|
<permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"
|
2010-02-04 16:52:34 -08:00
|
|
|
android:protectionLevel="signature" />
|
2010-05-12 16:04:10 -07:00
|
|
|
<uses-permission android:name="android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE"/>
|
2010-02-04 16:52:34 -08:00
|
|
|
|
2012-09-17 17:20:24 -07:00
|
|
|
<!-- @hide Package verifier needs to have this permission before the PackageManager will
|
2011-07-27 11:11:19 -07:00
|
|
|
trust it to verify packages.
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT"
|
|
|
|
android:label="@string/permlab_packageVerificationAgent"
|
|
|
|
android:description="@string/permdesc_packageVerificationAgent"
|
2012-02-21 15:11:13 -08:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-07-27 11:11:19 -07:00
|
|
|
|
|
|
|
<!-- Must be required by package verifier receiver, to ensure that only the
|
|
|
|
system can interact with it.
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.BIND_PACKAGE_VERIFIER"
|
|
|
|
android:label="@string/permlab_bindPackageVerifier"
|
|
|
|
android:description="@string/permdesc_bindPackageVerifier"
|
|
|
|
android:protectionLevel="signature" />
|
|
|
|
|
2011-08-29 20:11:07 -04:00
|
|
|
<!-- Allows applications to access serial ports via the SerialManager.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.SERIAL_PORT"
|
|
|
|
android:label="@string/permlab_serialPort"
|
|
|
|
android:description="@string/permdesc_serialPort"
|
2012-10-17 14:06:31 -07:00
|
|
|
android:protectionLevel="signature|system" />
|
2011-08-29 20:11:07 -04:00
|
|
|
|
2012-02-03 19:19:09 -08:00
|
|
|
<!-- Allows the holder to access content providers from outside an ApplicationThread.
|
|
|
|
This permission is enforced by the ActivityManagerService on the corresponding APIs,
|
|
|
|
in particular ActivityManagerService#getContentProviderExternal(String) and
|
|
|
|
ActivityManagerService#removeContentProviderExternal(String).
|
|
|
|
@hide
|
|
|
|
-->
|
|
|
|
<permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY"
|
|
|
|
android:label="@string/permlab_accessContentProvidersExternally"
|
|
|
|
android:description="@string/permdesc_accessContentProvidersExternally"
|
|
|
|
android:protectionLevel="signature" />
|
2012-02-23 14:59:36 -08:00
|
|
|
<!-- Allows an application to hold an UpdateLock, recommending that a headless
|
|
|
|
OTA reboot *not* occur while the lock is held.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.UPDATE_LOCK"
|
|
|
|
android:label="@string/permlab_updateLock"
|
|
|
|
android:description="@string/permdesc_updateLock"
|
|
|
|
android:protectionLevel="signatureOrSystem" />
|
2012-02-03 19:19:09 -08:00
|
|
|
|
2013-01-17 00:21:05 -05:00
|
|
|
<!-- Allows an application to read the current set of notifications, including
|
|
|
|
any metadata and intents attached.
|
|
|
|
@hide -->
|
|
|
|
<permission android:name="android.permission.ACCESS_NOTIFICATIONS"
|
|
|
|
android:label="@string/permlab_accessNotifications"
|
|
|
|
android:description="@string/permdesc_accessNotifications"
|
|
|
|
android:protectionLevel="signature|system" />
|
|
|
|
|
Full local backup infrastructure
This is the basic infrastructure for pulling a full(*) backup of the
device's data over an adb(**) connection to the local device. The
basic process consists of these interacting pieces:
1. The framework's BackupManagerService, which coordinates the
collection of app data and routing to the destination.
2. A new framework-provided BackupAgent implementation called
FullBackupAgent, which is instantiated in the target applications'
processes in turn, and knows how to emit a datastream that contains
all of the app's saved data files.
3. A new shell-level program called "bu" that is used to bridge from
adb to the framework's Backup Manager.
4. adb itself, which now knows how to use 'bu' to kick off a backup
operation and pull the resulting data stream to the desktop host.
5. A system-provided application that verifies with the user that
an attempted backup/restore operation is in fact expected and to
be allowed.
The full agent implementation is not used during normal operation of
the delta-based app-customized remote backup process. Instead it's
used during user-confirmed *full* backup of applications and all their
data to a local destination, e.g. via the adb connection.
The output format is 'tar'. This makes it very easy for the end
user to examine the resulting dataset, e.g. for purpose of extracting
files for debug purposes; as well as making it easy to contemplate
adding things like a direct gzip stage to the data pipeline during
backup/restore. It also makes it convenient to construct and maintain
synthetic backup datasets for testing purposes.
Within the tar format, certain artificial conventions are used.
All files are stored within top-level directories according to
their semantic origin:
apps/pkgname/a/ : Application .apk file itself
apps/pkgname/obb/: The application's associated .obb containers
apps/pkgname/f/ : The subtree rooted at the getFilesDir() location
apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent
apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent
apps/pkgname/r/ : Files stored relative to the root of the app's file tree
apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored.
For each package, the first entry in the tar stream is a file called
"_manifest", nominally rooted at apps/pkgname. This file contains some
metadata about the package whose data is stored in the archive.
The contents of shared storage can optionally be included in the tar
stream. It is placed in the synthetic location:
shared/...
uid/gid are ignored; app uids are assigned at install time, and the
app's data is handled from within its own execution environment, so
will automatically have the app's correct uid.
Forward-locked .apk files are never backed up. System-partition
.apk files are not backed up unless they have been overridden by a
post-factory upgrade, in which case the current .apk *is* backed up --
i.e. the .apk that matches the on-disk data. The manifest preceding
each application's portion of the tar stream provides version numbers
and signature blocks for version checking, as well as an indication
of whether the restore logic should expect to install the .apk before
extracting the data.
System packages can designate their own full backup agents. This is
to manage things like the settings provider which (a) cannot be shut
down on the fly in order to do a clean snapshot of their file trees,
and (b) manage data that is not only irrelevant but actively hostile
to non-identical devices -- CDMA telephony settings would seriously
mess up a GSM device if emplaced there blind, for example.
When a full backup or restore is initiated from adb, the system will
present a confirmation UI that the user must explicitly respond to
within a short [~ 30 seconds] timeout. This is to avoid the
possibility of malicious desktop-side software secretly grabbing a copy
of all the user's data for nefarious purposes.
(*) The backup is not strictly a full mirror. In particular, the
settings database is not cloned; it is handled the same way that
it is in cloud backup/restore. This is because some settings
are actively destructive if cloned onto a different (or
especially a different-model) device: telephony settings and
AndroidID are good examples of this.
(**) On the framework side it doesn't care that it's adb; it just
sends the tar stream to a file descriptor. This can easily be
retargeted around whatever transport we might decide to use
in the future.
KNOWN ISSUES:
* the security UI is desperately ugly; no proper designs have yet
been done for it
* restore is not yet implemented
* shared storage backup is not yet implemented
* symlinks aren't yet handled, though some infrastructure for
dealing with them has been put in place.
Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
2011-04-01 14:43:32 -07:00
|
|
|
<!-- The system process is explicitly the only one allowed to launch the
|
|
|
|
confirmation UI for full backup/restore -->
|
|
|
|
<uses-permission android:name="android.permission.CONFIRM_FULL_BACKUP"/>
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<application android:process="system"
|
|
|
|
android:persistent="true"
|
|
|
|
android:hasCode="false"
|
|
|
|
android:label="@string/android_system_label"
|
|
|
|
android:allowClearUserData="false"
|
2009-07-28 18:24:51 -07:00
|
|
|
android:backupAgent="com.android.server.SystemBackupAgent"
|
2009-09-01 20:32:49 -07:00
|
|
|
android:killAfterRestore="false"
|
2012-09-10 20:46:33 -07:00
|
|
|
android:icon="@drawable/ic_launcher_android"
|
|
|
|
android:supportsRtl="true">
|
2009-03-03 19:31:44 -08:00
|
|
|
<activity android:name="com.android.internal.app.ChooserActivity"
|
2010-11-08 11:05:25 -08:00
|
|
|
android:theme="@style/Theme.Holo.Dialog.Alert"
|
2009-09-23 22:20:11 -07:00
|
|
|
android:finishOnCloseSystemDialogs="true"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:multiprocess="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.CHOOSER" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-06-03 18:47:52 -07:00
|
|
|
<activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity"
|
2010-11-08 11:05:25 -08:00
|
|
|
android:theme="@style/Theme.Holo.Dialog"
|
2010-06-03 18:47:52 -07:00
|
|
|
android:label="@string/heavy_weight_switcher_title"
|
|
|
|
android:finishOnCloseSystemDialogs="true"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
2010-06-03 18:47:52 -07:00
|
|
|
</activity>
|
2010-08-04 11:12:40 -07:00
|
|
|
<activity android:name="com.android.internal.app.PlatLogoActivity"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen"
|
|
|
|
android:process=":ui">
|
2010-08-04 11:12:40 -07:00
|
|
|
</activity>
|
2010-02-17 11:56:39 -08:00
|
|
|
<activity android:name="com.android.internal.app.DisableCarModeActivity"
|
|
|
|
android:theme="@style/Theme.NoDisplay"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
2010-02-17 11:56:39 -08:00
|
|
|
</activity>
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-04-20 16:05:10 -07:00
|
|
|
<activity android:name="android.accounts.ChooseAccountActivity"
|
|
|
|
android:excludeFromRecents="true"
|
2011-01-20 16:12:36 -08:00
|
|
|
android:exported="true"
|
|
|
|
android:theme="@android:style/Theme.Holo.Dialog"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:label="@string/choose_account_label"
|
|
|
|
android:process=":ui">
|
2009-04-20 16:05:10 -07:00
|
|
|
</activity>
|
|
|
|
|
2011-09-14 23:19:35 -07:00
|
|
|
<activity android:name="android.accounts.ChooseTypeAndAccountActivity"
|
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:exported="true"
|
2012-05-29 13:31:04 -07:00
|
|
|
android:theme="@android:style/Theme.Holo.Dialog"
|
2011-09-14 23:19:35 -07:00
|
|
|
android:label="@string/choose_account_label"
|
|
|
|
android:process=":ui">
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity android:name="android.accounts.ChooseAccountTypeActivity"
|
|
|
|
android:excludeFromRecents="true"
|
2012-09-28 10:53:37 -07:00
|
|
|
android:theme="@android:style/Theme.Holo.Dialog"
|
2011-09-14 23:19:35 -07:00
|
|
|
android:label="@string/choose_account_label"
|
|
|
|
android:process=":ui">
|
|
|
|
</activity>
|
|
|
|
|
2009-07-16 16:36:38 -07:00
|
|
|
<activity android:name="android.accounts.GrantCredentialsPermissionActivity"
|
|
|
|
android:excludeFromRecents="true"
|
2011-01-22 14:34:13 -08:00
|
|
|
android:exported="true"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:theme="@android:style/Theme.Holo.DialogWhenLarge"
|
|
|
|
android:process=":ui">
|
2009-07-16 16:36:38 -07:00
|
|
|
</activity>
|
|
|
|
|
2010-12-16 13:54:43 -08:00
|
|
|
<activity android:name="android.content.SyncActivityTooManyDeletes"
|
|
|
|
android:theme="@android:style/Theme.Holo.Dialog"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:label="@string/sync_too_many_deletes"
|
|
|
|
android:process=":ui">
|
2010-12-16 13:54:43 -08:00
|
|
|
</activity>
|
|
|
|
|
2009-07-30 01:21:08 -07:00
|
|
|
<activity android:name="com.android.server.ShutdownActivity"
|
|
|
|
android:permission="android.permission.SHUTDOWN"
|
2009-07-30 15:27:00 -07:00
|
|
|
android:excludeFromRecents="true">
|
2009-07-30 01:21:08 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2010-09-08 07:21:07 -04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.REBOOT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2009-07-30 01:21:08 -07:00
|
|
|
</activity>
|
2011-02-27 09:10:37 -08:00
|
|
|
|
2009-08-18 18:28:45 -04:00
|
|
|
<activity android:name="com.android.internal.app.NetInitiatedActivity"
|
2010-11-08 11:05:25 -08:00
|
|
|
android:theme="@style/Theme.Holo.Dialog.Alert"
|
2011-09-07 18:31:28 -07:00
|
|
|
android:excludeFromRecents="true"
|
|
|
|
android:process=":ui">
|
2009-08-18 18:28:45 -04:00
|
|
|
</activity>
|
2009-07-30 01:21:08 -07:00
|
|
|
|
2012-09-27 23:20:10 -07:00
|
|
|
<receiver android:name="com.android.server.BootReceiver"
|
|
|
|
android:primaryUserOnly="true">
|
2009-03-03 19:31:44 -08:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2012-08-23 22:00:15 -07:00
|
|
|
<receiver android:name="com.android.server.updates.CertPinInstallReceiver" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_PINS" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2012-09-24 13:57:16 -07:00
|
|
|
<receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2013-01-30 11:20:26 -08:00
|
|
|
<receiver android:name="com.android.server.updates.TZInfoInstallReceiver" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.UPDATE_TZINFO" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
<receiver android:name="com.android.server.MasterClearReceiver"
|
2010-10-15 18:45:07 -07:00
|
|
|
android:permission="android.permission.MASTER_CLEAR"
|
|
|
|
android:priority="100" >
|
2009-03-03 19:31:44 -08:00
|
|
|
<intent-filter>
|
2010-02-10 19:27:58 -08:00
|
|
|
<!-- For Checkin, Settings, etc.: action=MASTER_CLEAR -->
|
|
|
|
<action android:name="android.intent.action.MASTER_CLEAR" />
|
|
|
|
|
|
|
|
<!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR -->
|
2010-05-12 16:04:10 -07:00
|
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
2009-03-03 19:31:44 -08:00
|
|
|
<category android:name="android.intent.category.MASTER_CLEAR" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2010-10-15 18:45:07 -07:00
|
|
|
<service android:name="com.android.internal.os.storage.ExternalStorageFormatter"
|
|
|
|
android:permission="android.permission.MASTER_CLEAR"
|
|
|
|
android:exported="true" />
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-10-15 18:45:07 -07:00
|
|
|
</application>
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-10-15 18:45:07 -07:00
|
|
|
</manifest>
|