commit | 6708fff83f72ca426546d1bf0bab436180813b77 | [log] [tgz] |
---|---|---|
author | Jonathan Scott <scottjonathan@google.com> | Thu Feb 04 14:37:35 2021 +0000 |
committer | Anis Assi <anisassi@google.com> | Wed Mar 31 12:19:35 2021 -0700 |
tree | f1dcb9886c6fdd512da22c4856f69858348296be | |
parent | 3da64c8174f3ef936ba4e03cb0ec0485f6efab73 [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: If7b23426c16f97dccbea1ad7fc0b9f1d39612c2d (cherry picked from commit 26a90c2b820ba40755f9c28efaad2173133868b5)