From 46e5c0df766084d489da300fb4d03330a4792340 Mon Sep 17 00:00:00 2001 From: Zak Cohen Date: Tue, 8 Jun 2021 13:36:29 -0700 Subject: [PATCH] Give shell android.permission.GET_TOP_ACTIVITY_INFO Grant shell android.permission.GET_TOP_ACTIVITY_INFO for testing Launcher tests that need access to AssistContentRequester in shell context. Bug: 190344718 Test: Local build and flash, ran test Merged-In: I551e0bee413432653f39c91664d716f695311b6f Change-Id: I551e0bee413432653f39c91664d716f695311b6f --- data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 240d0565bddb1..04291e3dcc5c9 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -488,6 +488,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index bcb21d1d64ce3..959b5ca566870 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -526,6 +526,9 @@ + + +