From 823503a16af5f02b7030110effa43b814f6cf75b Mon Sep 17 00:00:00 2001 From: Alex Johnston Date: Wed, 13 May 2020 15:16:29 +0100 Subject: [PATCH] Remove black flash when unlocking work profile * Remove black theme of WorkLockActivity. The activity below will still not be displayed because there is a blankView added in onCreate(). Manual testing steps * Create a work profile and set a work profile lock * Launch a work profile app * Lock and unlock the screen 1. * Enter in the work profile credentials * Observe no flash is observed 2. * Return from the lock screen * Observe the activity below is not displayed Bug: 149286440 Test: Manual testing Change-Id: I18dd66067164e19e81e5fcbc46aa0879fe367a68 --- packages/SystemUI/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 61b1e30845b36..0e06b7a64b20b 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -603,7 +603,7 @@ android:excludeFromRecents="true" android:stateNotNeeded="true" android:resumeWhilePausing="true" - android:theme="@android:style/Theme.Black.NoTitleBar"> + android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">