commit | d79ffeed3c46607aa354d1c30cd9d6262ee14fe4 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Fri Feb 03 17:48:50 2023 +0000 |
committer | Pavel Grafov <pgrafov@google.com> | Tue Feb 14 16:43:36 2023 +0000 |
tree | 9ef643c3af13a3df73f37a48848efb530f9503e6 | |
parent | 9ee8a8cdc138e2a1078c2faca65af79b620bbe52 [diff] |
Ask profile password before disabling quiet mode With "Turn off work 2.0" when the profile is put into quiet mode the user is not stopped and its storage is not locked. Because of that it is not sufficient to check for storage state - if the profile has separate challenge, always ask for it. Also, mark such user as locked in TrustManager. Bug: 258823777 Test: manual Change-Id: Ie5d79c3b149b63cf198ee61d550f1c93356d8977