blob: 7416fb564e27a25dcbee5562212264477e1aa7af [file] [log] [blame]
Alan Viverettee3c38a02014-04-02 15:39:13 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
Felipe Lemee53e85f2015-11-17 17:37:53 -08004 * Copyright (C) 2015 The Android Open Source Project
Alan Viverettee3c38a02014-04-02 15:39:13 -07005 *
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 Hackborn514074f2013-02-11 10:52:46 -080019<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 Hackborn514074f2013-02-11 10:52:46 -080026 <uses-permission android:name="android.permission.SEND_SMS" />
27 <uses-permission android:name="android.permission.CALL_PHONE" />
Yorke Leeadb53b32015-06-03 14:15:42 -070028 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080029 <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 Kilbournbba73a02015-09-01 14:21:09 -070042 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080043 <!-- System tool permissions granted to the shell. -->
Dianne Hackborn2d7576b2014-10-03 16:26:04 -070044 <uses-permission android:name="android.permission.REAL_GET_TASKS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080045 <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 Sharkeye515c642015-08-28 11:20:39 -070069 <uses-permission android:name="android.permission.MOVE_PACKAGE" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080070 <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 Ganov7121e182015-07-13 22:38:12 -070081 <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 Hackborn514074f2013-02-11 10:52:46 -080084 <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 Sharkey39da5532013-11-05 12:17:25 -080089 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080090 <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 Talavera9c173882014-09-12 15:48:55 +010093 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
Dianne Hackborn514074f2013-02-11 10:52:46 -080094 <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
Jeff Sharkey02ffba92013-03-08 16:13:15 -080095 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Svetoslav1376d602014-03-13 11:17:26 -070096 <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" />
Allen Hair59d2b432014-04-23 10:23:07 -070097 <uses-permission android:name="android.permission.FRAME_STATS" />
Svet Ganovbe19c3a2014-07-21 23:46:05 -070098 <uses-permission android:name="android.permission.BIND_APPWIDGET" />
Adam Lesinskib5cf61b2014-08-18 16:10:28 -070099 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Svetoslav7e9c2152014-10-21 14:52:00 -0700100 <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
Svetoslav805b63e2015-04-09 17:28:54 -0700101 <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" />
Amith Yamasanicf768722015-04-23 20:36:41 -0700102 <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" />
Jeff Sharkey4c099d02015-05-15 13:45:00 -0700103 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
104 <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" />
Yorke Leeadb53b32015-06-03 14:15:42 -0700105 <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 Sauer1344cb92015-08-25 08:47:50 -0700109 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
Felipe Lemed1e0f122015-12-18 16:12:41 -0800110 <uses-permission android:name="android.permission.VIBRATE" />
Filip Gruszczynski1ca4e542015-12-22 09:22:34 -0800111 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" />
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800112
Jeff Sharkeyf9fc6d62015-11-08 16:46:05 -0800113 <application android:label="@string/app_label"
114 android:forceDeviceEncrypted="true"
115 android:encryptionAware="true">
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800116 <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 Hashimotodd980342015-03-17 19:56:42 +0900126 <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 Sharkey02ffba92013-03-08 16:13:15 -0800138 <activity
139 android:name=".BugreportWarningActivity"
Alan Viveretteb9da2802015-05-05 14:09:21 -0700140 android:theme="@*android:style/Theme.Material.DayNight.Dialog.Alert"
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800141 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 Leme69c02922015-11-24 17:48:05 -0800149 <action android:name="android.intent.action.BUGREPORT_STARTED" />
Jeff Sharkey02ffba92013-03-08 16:13:15 -0800150 <action android:name="android.intent.action.BUGREPORT_FINISHED" />
151 </intent-filter>
152 </receiver>
Felipe Lemeb9238b32015-11-24 17:31:47 -0800153
Michal Karpinski226940e2015-12-15 18:14:26 +0000154 <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 Lemeb9238b32015-11-24 17:31:47 -0800162 <service
163 android:name=".BugreportProgressService"
164 android:exported="false"/>
Dianne Hackborn514074f2013-02-11 10:52:46 -0800165 </application>
166</manifest>