commit | bf46bc8f91902a758d5a3865eef9b5a1864dbd44 | [log] [tgz] |
---|---|---|
author | Oli Thompson <olit@google.com> | Mon Oct 23 11:22:54 2023 +0000 |
committer | Oli Thompson <olit@google.com> | Fri Nov 17 15:51:19 2023 +0000 |
tree | 25a2e575fa2708a9b3339d903dc087817a7c0b97 | |
parent | 952dc1a5eea8db4628915cfd2631e2e5fd67e4a7 [diff] |
Prevent launching credential input if managed user is alive If the user very quickly disables and reenables quietmode the user has not finished dying and the input for the credential screen can disappear. We check if the managed user is still alive, and ignore calls to showConfirmCredentialToDisableQuietMode() if it is Change-Id: I0e808bde3c57fa9123783590c1328b74440f703f Test: atest android.devicepolicy.cts.QuietModeTest Bug: 303722527 Bug: 293441361