commit | 48c221c1de2b9e442f0a44018eac7d88b737f119 | [log] [tgz] |
---|---|---|
author | Jonathan Scott <scottjonathan@google.com> | Thu Jan 28 16:17:27 2021 +0000 |
committer | Jonathan Scott <scottjonathan@google.com> | Tue Feb 02 14:15:44 2021 +0000 |
tree | 5f62d10017b8ec1d9804e9a52e1f137429258854 | |
parent | f1508a7746299d44d6f4c7cf466fa439b0083e90 [diff] |
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: I74f1332f059e26ccedf49d778d683526a6ebec8d (cherry picked from commit bb7a9a7dd474c925d5dd97d61da7f655896a883a)