Alan Viverette | e3c38a0 | 2014-04-02 15:39:13 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | * Copyright (c) 2014 Google Inc. |
| 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" /> |
| 28 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 29 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 30 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 31 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
| 32 | <uses-permission android:name="android.permission.READ_USER_DICTIONARY" /> |
| 33 | <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" /> |
| 34 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 35 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 36 | <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> |
| 37 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 38 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 39 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
| 40 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
| 41 | <!-- System tool permissions granted to the shell. --> |
Dianne Hackborn | 2d7576b | 2014-10-03 16:26:04 -0700 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> |
| 44 | <uses-permission android:name="android.permission.REORDER_TASKS" /> |
| 45 | <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" /> |
| 46 | <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" /> |
| 47 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 48 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| 49 | <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| 50 | <!-- Development tool permissions granted to the shell. --> |
| 51 | <uses-permission android:name="android.permission.SET_DEBUG_APP" /> |
| 52 | <uses-permission android:name="android.permission.SET_PROCESS_LIMIT" /> |
| 53 | <uses-permission android:name="android.permission.SET_ALWAYS_FINISH" /> |
| 54 | <uses-permission android:name="android.permission.DUMP" /> |
| 55 | <uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" /> |
| 56 | <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> |
| 57 | <!-- Internal permissions granted to the shell. --> |
| 58 | <uses-permission android:name="android.permission.FORCE_BACK" /> |
| 59 | <uses-permission android:name="android.permission.BATTERY_STATS" /> |
| 60 | <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" /> |
| 61 | <uses-permission android:name="android.permission.INJECT_EVENTS" /> |
| 62 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT" /> |
| 63 | <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> |
| 64 | <uses-permission android:name="android.permission.READ_INPUT_STATE" /> |
| 65 | <uses-permission android:name="android.permission.SET_ORIENTATION" /> |
| 66 | <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
| 67 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> |
| 68 | <uses-permission android:name="android.permission.DELETE_CACHE_FILES" /> |
| 69 | <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
| 70 | <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> |
| 71 | <uses-permission android:name="android.permission.READ_FRAME_BUFFER" /> |
| 72 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
| 73 | <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" /> |
| 74 | <uses-permission android:name="android.permission.BACKUP" /> |
| 75 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> |
| 76 | <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> |
| 77 | <uses-permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" /> |
| 78 | <uses-permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS" /> |
| 79 | <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" /> |
| 80 | <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
| 81 | <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" /> |
| 82 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 83 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 39da553 | 2013-11-05 12:17:25 -0800 | [diff] [blame] | 84 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 85 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 86 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 87 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
Esteban Talavera | 9c17388 | 2014-09-12 15:48:55 +0100 | [diff] [blame] | 88 | <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 89 | <uses-permission android:name="android.permission.BLUETOOTH_STACK" /> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 90 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Svetoslav | 1376d60 | 2014-03-13 11:17:26 -0700 | [diff] [blame] | 91 | <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" /> |
Allen Hair | 59d2b43 | 2014-04-23 10:23:07 -0700 | [diff] [blame] | 92 | <uses-permission android:name="android.permission.FRAME_STATS" /> |
Svet Ganov | be19c3a | 2014-07-21 23:46:05 -0700 | [diff] [blame] | 93 | <uses-permission android:name="android.permission.BIND_APPWIDGET" /> |
Adam Lesinski | b5cf61b | 2014-08-18 16:10:28 -0700 | [diff] [blame] | 94 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Svetoslav | 7e9c215 | 2014-10-21 14:52:00 -0700 | [diff] [blame] | 95 | <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/> |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 96 | |
| 97 | <application android:label="@string/app_label"> |
| 98 | <provider |
| 99 | android:name="android.support.v4.content.FileProvider" |
| 100 | android:authorities="com.android.shell" |
| 101 | android:grantUriPermissions="true" |
| 102 | android:exported="false"> |
| 103 | <meta-data |
| 104 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 105 | android:resource="@xml/file_provider_paths" /> |
| 106 | </provider> |
| 107 | |
Ryo Hashimoto | dd98034 | 2015-03-17 19:56:42 +0900 | [diff] [blame^] | 108 | <provider |
| 109 | android:name=".BugreportStorageProvider" |
| 110 | android:authorities="com.android.shell.documents" |
| 111 | android:grantUriPermissions="true" |
| 112 | android:exported="true" |
| 113 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 114 | android:enabled="false"> |
| 115 | <intent-filter> |
| 116 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 117 | </intent-filter> |
| 118 | </provider> |
| 119 | |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 120 | <activity |
| 121 | android:name=".BugreportWarningActivity" |
Alan Viverette | 6259933 | 2014-04-01 14:57:39 -0700 | [diff] [blame] | 122 | android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" |
Jeff Sharkey | 02ffba9 | 2013-03-08 16:13:15 -0800 | [diff] [blame] | 123 | android:finishOnCloseSystemDialogs="true" |
| 124 | android:excludeFromRecents="true" |
| 125 | android:exported="false" /> |
| 126 | |
| 127 | <receiver |
| 128 | android:name=".BugreportReceiver" |
| 129 | android:permission="android.permission.DUMP"> |
| 130 | <intent-filter> |
| 131 | <action android:name="android.intent.action.BUGREPORT_FINISHED" /> |
| 132 | </intent-filter> |
| 133 | </receiver> |
Dianne Hackborn | 514074f | 2013-02-11 10:52:46 -0800 | [diff] [blame] | 134 | </application> |
| 135 | </manifest> |