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
This commit is contained in:
Matt Pietal
2023-02-06 15:46:37 +00:00
parent 5b85373d3e
commit 05053527ad

View File

@@ -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">
</activity>