summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorBrian Colonna <bcolonna@google.com>2013-04-15 11:45:40 -0400
committerBrian Colonna <bcolonna@google.com>2013-04-15 11:45:40 -0400
commita5239891dc324db21beb87535f90ea76fba803b9 (patch)
treea396fd65a90625cbca4602bdf733b44a22335f62 /graphics/java/android/renderscript/RenderScript.java
parent330a9fe323cfb2f492665b73822f056c2c6689c2 (diff)
Enabling Face Unlock for user switching (bug 8495282)
We had been intentionally disabling FUL when switching to a new user. The reason was that we were only getting a signal when the user switch started, not when it completed. If we started FUL at the beginning of the user switch, it could be completed by the time the user switch completed. We now have a signal to tell us that the switch completed. Prior to this change, FUL would start whenever keyguard is created. For a user switch, keyguard is recreated when we get onUserSwitching(), but we don't want FUL to start until we get onUserSwitchComplete(). So with this change, if onResume() happens because of a user switch it doesn't start FUL until we get onUserSwitchComplete(). Change-Id: I1d3da0a32b9b4cf0cfa5c577f1697d2a41ee4fda
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions