From 05053527ad8e9d11d960c2eb9166ce4c30ee2d66 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Mon, 6 Feb 2023 15:46:37 +0000 Subject: [PATCH] Allow UserSwitcherActivity in LockDownTask mode Devices can be locked down, such as supervised devices when the time limit has been passed. Most activities should be blocked, but the user switcher activity should always be allowed. Bug: 257493384 Test: manual Change-Id: Ifd7bc217e629a28190b81748f02af676d1adc40a --- 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 e96aead597b3c..fb4986b99c861 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -899,7 +899,7 @@ android:showWhenLocked="true" android:showForAllUsers="true" android:finishOnTaskLaunch="true" - android:launchMode="singleInstance" + android:lockTaskMode="if_whitelisted" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden" android:visibleToInstantApps="true">