commit | 60cddd4c1313066e3ef8f3ddbb1919785d54885f | [log] [tgz] |
---|---|---|
author | Jon Spivack <spivack@google.com> | Thu Aug 17 18:34:02 2023 -0700 |
committer | Jon Spivack <spivack@google.com> | Fri Aug 18 18:57:24 2023 -0700 |
tree | 489ce665832b3776f2e7b2d5da6a1ee012cbcb46 | |
parent | 4c7a80403df5271d01a89a7dd467674dc5943b84 [diff] |
Disable Lock Task Mode before enabling it In certain circumstances, if another app initiates Lock Task Mode before the DLC does, it can subsequently break the DLC's lock. This fixes that vulnerability by ending any pre-existing Lock Task Mode before DLC starts its own. Bug: 288396685 Test: Manual with test app defined in ag/24426052 Test: atest DeviceLockControllerRoboTests Change-Id: I87ef568b683155bdf8fd3612ca07d56ad958cf38