commit | 5d2404da57926736317c1a08d989cd55784ef8a1 | [log] [tgz] |
---|---|---|
author | Danielle Millett <dmillett@google.com> | Thu Nov 01 00:05:27 2012 -0400 |
committer | Danielle Millett <dmillett@google.com> | Thu Nov 01 00:05:27 2012 -0400 |
tree | e9315f507f9323481ee28966fde5241dddd1701e | |
parent | 5b0398448b367f36883dd6c9ea16ced781c72d10 [diff] |
Updating isShowing during onResume() Since the callback is unregistered in onPause(), KeyguardFaceUnlock doesn't get onKeyguardVisibilityChanged() when it's paused. This means that if the state changes while it's paused, then mIsShowing is incorrect when it resumes. This is fixed by keeping track of the state in KeyguardUpdateMonitor and checking it when onResume() is called. Change-Id: I67aa1e091161a965e4347dc8c2ec5e7a1dd9d92e