summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Jason Parks <jparks@google.com> 2025-01-07 22:00:36 +0000
committer Jason Parks <jparks@google.com> 2025-01-07 22:00:36 +0000
commit0a3d244d95467fbf8c76217b283104334079351f (patch)
tree2391302c0358878d61f537f6c9f2571f03909dc9 /libs/androidfw/AssetsProvider.cpp
parent775913ed2f0e686ff39b2ddc5fb4632b229819e1 (diff)
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions