From 4c9a6d5cdecc65c62579357240a207ab57c53065 Mon Sep 17 00:00:00 2001 From: Bernardo Rufino Date: Wed, 25 Nov 2020 12:25:11 +0000 Subject: [PATCH] Add BROADCAST_CLOSE_SYSTEM_DIALOGS to shell for tests Tests that interact with the UI send Intent.ACSD before execution to prevent the test from failing in case there are unexpected dialogs on screen. Those tests will be able to keep that via the instrumentation bridge with the shell, given the shell has the proper permission to close system dialogs. Bug: 159105552 Test: Verify that shell has permission via adb shell dumpsys package Change-Id: I07266573ae73d086446c6107248f5e187edcd64a --- packages/Shell/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index a97af4bbe3249..6a8c38776afd2 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -345,6 +345,9 @@ + + +