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
5 files changed