Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0a3d244d authored by Jason Parks's avatar Jason Parks
Browse files

Fix setSecondaryLockscreenEnabled flag behavior.

setSecondaryLockscreenEnabled now checks for the flag and
if mSupervisionManagerInternal is not null to call into the
SupervisionService. This allows for the old behavior to remain intact.

This fixes CTS breakage when both flags are not enabled.

Test: atest -c 'CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSecondaryLockscreen'
Bug: 379041099
Bug: 379976391
Bug: 383360361
Flag: android.app.admin.flags.secondary_lockscreen_api_enabled
Change-Id: I84e14508184f8e249cdab1e755d377bccd0272ee
parent 775913ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment