commit | f93dd8db1c8b18460f4b5487726a263aec7b9b51 | [log] [tgz] |
---|---|---|
author | Jonathan Scott <scottjonathan@google.com> | Wed Feb 03 17:24:10 2021 +0000 |
committer | Anis Assi <anisassi@google.com> | Wed Mar 31 16:46:01 2021 -0700 |
tree | b2fa519b87fe945edc32c8e8a0ca71792425564e | |
parent | b73ef520e3f6a48f9a2db998da38886d95ea885a [diff] |
[RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard. USER_CURRENT is not an acceptable input to isSecure(). The test has also been updated as the use of any() for the mock hid this bug. Test: atest LockTaskControllerTest Bug: 176801033 Change-Id: Ib8a11ed4fc895bcd6eda8cf777a8dd2ce253e11e (cherry picked from commit bb4eded37926916f8f9c45dede6bc6315cf15b18)