Alan Viverette | e3c38a0 | 2014-04-02 15:39:13 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
Felipe Leme | e53e85f | 2015-11-17 17:37:53 -0800 | [diff] [blame] | 4 | * Copyright (C) 2015 The Android Open Source Project |
Alan Viverette | e3c38a0 | 2014-04-02 15:39:13 -0700 | [diff] [blame] | 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | package="com.android.shell" |
| 21 | coreApp="true" |
| 22 | android:sharedUserId="android.uid.shell" |
| 23 | > |
| 24 | |
| 25 | <!-- Standard permissions granted to the shell. --> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.SEND_SMS" /> |
| 27 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 30 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 31 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 32 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
| 33 | <uses-permission android:name="android.permission.READ_USER_DICTIONARY" /> |
| 34 | <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" /> |
| 35 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 36 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 37 | <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> |
| 38 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 39 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 40 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
| 41 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
Tim Kilbourn | bba73a0 | 2015-09-01 14:21:09 -0700 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 43 | <!-- System tool permissions granted to the shell. --> |
Dianne Hackborn | 2d7576b | 2014-10-03 16:26:04 -0700 | [diff] [blame] | 44 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> |
| 46 | <uses-permission android:name="android.permission.REORDER_TASKS" /> |
| 47 | <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" /> |
| 48 | <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" /> |
| 49 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 50 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| 51 | <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| 52 | <!-- Development tool permissions granted to the shell. --> |
| 53 | <uses-permission android:name="android.permission.SET_DEBUG_APP" /> |
| 54 | <uses-permission android:name="android.permission.SET_PROCESS_LIMIT" /> |
| 55 | <uses-permission android:name="android.permission.SET_ALWAYS_FINISH" /> |
| 56 | <uses-permission android:name="android.permission.DUMP" /> |
| 57 | <uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" /> |
| 58 | <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> |
| 59 | <!-- Internal permissions granted to the shell. --> |
| 60 | <uses-permission android:name="android.permission.FORCE_BACK" /> |
| 61 | <uses-permission android:name="android.permission.BATTERY_STATS" /> |
| 62 | <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" /> |
| 63 | <uses-permission android:name="android.permission.INJECT_EVENTS" /> |
| 64 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT" /> |
| 65 | <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> |
| 66 | <uses-permission android:name="android.permission.READ_INPUT_STATE" /> |
| 67 | <uses-permission android:name="android.permission.SET_ORIENTATION" /> |
| 68 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
Jeff Sharkey | e515c64 | 2015-08-28 11:20:39 -0700 | [diff] [blame] | 69 | <uses-permission android:name="android.permission.MOVE_PACKAGE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 70 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> |
| 71 | <uses-permission android:name="android.permission.DELETE_CACHE_FILES" /> |
| 72 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
| 73 | <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> |
| 74 | <uses-permission android:name="android.permission.READ_FRAME_BUFFER" /> |
| 75 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
| 76 | <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" /> |
| 77 | <uses-permission android:name="android.permission.BACKUP" /> |
| 78 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> |
| 79 | <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> |
| 80 | <uses-permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" /> |
Svet Ganov | 7121e18 | 2015-07-13 22:38:12 -0700 | [diff] [blame] | 81 | <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" /> |
| 82 | <uses-permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS" /> |
| 83 | <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 84 | <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" /> |
| 85 | <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
| 86 | <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" /> |
| 87 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 88 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 39da553 | 2013-11-05 12:17:25 -0800 | [diff] [blame] | 89 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 90 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 91 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 92 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Esteban Talavera | 9c17388 | 2014-09-12 15:48:55 +0100 | [diff] [blame] | 93 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 94 | <uses-permission android:name="android.permission.BLUETOOTH_STACK" /> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 95 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Svetoslav | 1376d60 | 2014-03-13 11:17:26 -0700 | [diff] [blame] | 96 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" /> |
Allen Hair | 59d2b43 | 2014-04-23 10:23:07 -0700 | [diff] [blame] | 97 | <uses-permission android:name="android.permission.FRAME_STATS" /> |
Svet Ganov | be19c3a | 2014-07-21 23:46:05 -0700 | [diff] [blame] | 98 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
Adam Lesinski | b5cf61b | 2014-08-18 16:10:28 -0700 | [diff] [blame] | 99 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Svetoslav | 7e9c215 | 2014-10-21 14:52:00 -0700 | [diff] [blame] | 100 | <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/> |
Svetoslav | 805b63e | 2015-04-09 17:28:54 -0700 | [diff] [blame] | 101 | <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" /> |
Amith Yamasani | cf76872 | 2015-04-23 20:36:41 -0700 | [diff] [blame] | 102 | <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" /> |
Jeff Sharkey | 4c099d0 | 2015-05-15 13:45:00 -0700 | [diff] [blame] | 103 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
| 104 | <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" /> |
Yorke Lee | adb53b3 | 2015-06-03 14:15:42 -0700 | [diff] [blame] | 105 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 106 | <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" /> |
| 107 | <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> |
| 108 | <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> |
Nicholas Sauer | 1344cb9 | 2015-08-25 08:47:50 -0700 | [diff] [blame] | 109 | <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> |
Felipe Leme | d1e0f12 | 2015-12-18 16:12:41 -0800 | [diff] [blame] | 110 | <uses-permission android:name="android.permission.VIBRATE" /> |
Filip Gruszczynski | 1ca4e54 | 2015-12-22 09:22:34 -0800 | [diff] [blame] | 111 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" /> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 112 | |
Jeff Sharkey | f9fc6d6 | 2015-11-08 16:46:05 -0800 | [diff] [blame] | 113 | <application android:label="@string/app_label" |
| 114 | android:forceDeviceEncrypted="true" |
| 115 | android:encryptionAware="true"> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 116 | <provider |
| 117 | android:name="android.support.v4.content.FileProvider" |
| 118 | android:authorities="com.android.shell" |
| 119 | android:grantUriPermissions="true" |
| 120 | android:exported="false"> |
| 121 | <meta-data |
| 122 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 123 | android:resource="@xml/file_provider_paths" /> |
| 124 | </provider> |
| 125 | |
Ryo Hashimoto | dd98034 | 2015-03-17 19:56:42 +0900 | [diff] [blame] | 126 | <provider |
| 127 | android:name=".BugreportStorageProvider" |
| 128 | android:authorities="com.android.shell.documents" |
| 129 | android:grantUriPermissions="true" |
| 130 | android:exported="true" |
| 131 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 132 | android:enabled="false"> |
| 133 | <intent-filter> |
| 134 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 135 | </intent-filter> |
| 136 | </provider> |
| 137 | |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 138 | <activity |
| 139 | android:name=".BugreportWarningActivity" |
Alan Viverette | b9da280 | 2015-05-05 14:09:21 -0700 | [diff] [blame] | 140 | android:theme="@*android:style/Theme.Material.DayNight.Dialog.Alert" |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 141 | android:finishOnCloseSystemDialogs="true" |
| 142 | android:excludeFromRecents="true" |
| 143 | android:exported="false" /> |
| 144 | |
| 145 | <receiver |
| 146 | android:name=".BugreportReceiver" |
| 147 | android:permission="android.permission.DUMP"> |
| 148 | <intent-filter> |
Felipe Leme | 69c0292 | 2015-11-24 17:48:05 -0800 | [diff] [blame] | 149 | <action android:name="android.intent.action.BUGREPORT_STARTED" /> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 150 | <action android:name="android.intent.action.BUGREPORT_FINISHED" /> |
| 151 | </intent-filter> |
| 152 | </receiver> |
Felipe Leme | b9238b3 | 2015-11-24 17:31:47 -0800 | [diff] [blame] | 153 | |
Michal Karpinski | 226940e | 2015-12-15 18:14:26 +0000 | [diff] [blame] | 154 | <receiver |
| 155 | android:name=".RemoteBugreportReceiver" |
| 156 | android:permission="android.permission.DUMP"> |
| 157 | <intent-filter> |
| 158 | <action android:name="android.intent.action.REMOTE_BUGREPORT_FINISHED" /> |
| 159 | </intent-filter> |
| 160 | </receiver> |
| 161 | |
Felipe Leme | b9238b3 | 2015-11-24 17:31:47 -0800 | [diff] [blame] | 162 | <service |
| 163 | android:name=".BugreportProgressService" |
| 164 | android:exported="false"/> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 165 | </application> |
| 166 | </manifest> |