summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
authorDimuthu Gamage <dimuthu@google.com>2020-06-03 14:45:06 -0700
committerDimuthu Undupitiya Gamage <dimuthu@google.com>2020-06-04 23:43:47 +0000
commita2b2226d6b40bf1cc3f037d8e8ad7e1560f1cc3a (patch)
tree079b2896f5199a93933365df1b244ebb2e225ede /packages/Shell
parent1a7be751e1a25f9b2c4228eb30c7d19e26b6d5d8 (diff)
Adding LOADER_USAGE_STATS permission to shell
This is expected to be used with adoptShellPermission in the Incremental CTS tests. Test: atest android.content.pm.cts.PackageManagerShellCommandTest (There will be future tests relying on this) Bug: 158024822 Change-Id: I4f146337429679edddba698aa88bb9b2cb883ab9
Diffstat (limited to 'packages/Shell')
-rw-r--r--packages/Shell/AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 44349c5f5ab4..4e17062fc52c 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -201,6 +201,9 @@
<uses-permission android:name="android.permission.MANAGE_APPOPS" />
+ <!-- Permission required for IncrementalLogCollectionTest -->
+ <uses-permission android:name="android.permission.LOADER_USAGE_STATS" />
+
<!-- Permission required for storage tests - FuseDaemonHostTest -->
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>