commit | 2bdc21e6a996ae1287c2151ac2353146b0815401 | [log] [tgz] |
---|---|---|
author | Brad Stenning <stenning@google.com> | Mon Mar 11 14:33:22 2019 -0700 |
committer | Brad Stenning <stenning@google.com> | Mon Mar 11 14:47:24 2019 -0700 |
tree | d87d172be2719ae508116d1503b127034930becd | |
parent | c02b1d7258dfc8e1961a2bf31251073b6bcafd24 [diff] |
Updates isKeyguardSecure to take in a user id. Updates all the callers to pass in a user id. Implementation was broken when called by a singleton component (singleUser=true) with a foreground secondary user. It would return the keyguard state of user 0, rather than the foreground user. Fixes: 123375796 Test: atest CtsActivityManagerDeviceTestCases:KeyguardLockedTests with secondary user in the foreground Change-Id: Ieb7217f5e1dddb65f8987242e675c3dff0a80aab