From b28fb721f5be06818bedc8601e02118ddcbd4739 Mon Sep 17 00:00:00 2001 From: Charles Chen Date: Thu, 21 May 2020 17:19:32 +0800 Subject: Trust System UI owned display to receive keys A11y service cannot get focus of bubbles because it's not a System owned display. This patch makes System UI owned display a trusted display. Moreover, this patch refactors the logic to identify a trusted display by introducing FLAG_TRUSTED and removes the trusted display check along with supportsSystemDecorations() because the check has been included in supportsSystemDecorations(). fixes: 155823002 Bug: 152416787 Test: atest DisplayContentTests Test: atest WindowFocusTests Test: atest TaskDisplayAreaTests Test: atest MultiDisplaySystemDecorationTests Test: atest DisplayTest Change-Id: Ie684c6488904e5aa8cae166a455c6d55455e5f55 --- packages/SystemUI/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/SystemUI/AndroidManifest.xml') diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 985269b2bb75..5b6155180e0a 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -263,6 +263,9 @@ + + + -- cgit v1.2.3-59-g8ed1b