From 93bfd052a8a76909cb56eea0ecb5bd22cb25ba77 Mon Sep 17 00:00:00 2001 From: Sudheer Shanka Date: Fri, 1 Sep 2017 16:41:10 -0700 Subject: [PATCH] Add PACKAGE_USAGE_STATS permission to shell. This is needed for calling AM.registerUidObserver. Fixes: 64400666 Test: cts-tradefed run singleCommand cts-dev -m CtsAppTestCases -t \ android.app.cts.ActivityManagerProcessStateTest Change-Id: I4f500d0d8d516b6b8961ea2f8c083add3ae949a9 --- data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 1f552321390dc..7a2df85f8d7b0 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -280,6 +280,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index bd1ebb9a63232..b758e7f5bc879 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -62,6 +62,7 @@ +