From baea42278861afdb6fa10a4aa89cde1e65c09489 Mon Sep 17 00:00:00 2001 From: zakcohen Date: Wed, 9 Jun 2021 03:32:29 +0000 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 4731a8ed47b0b..0e9b56dab1dca 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -437,6 +437,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index af995f99c97e4..06026a5b6afa1 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -471,6 +471,9 @@ + + +