summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-05-18 02:05:29 +0200
committerJorim Jaggi <jjaggi@google.com>2017-05-18 02:05:29 +0200
commit5277deaa591cabb163fa7ad0b139219c3f13313c (patch)
tree6b51472c03294e2f5888f5c37d9ed6d1cda464db /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent43530c99859d6eb385ba7d747d3868f4310c50a4 (diff)
Fix ordering of notifying dismiss callback
Otherwise all unlocks will result in onDismissCancelled. Also fixes a race condition bug where we call reportKeyguardShowingChanged but we don't wait until the state is updated. Then, we called onDismissSucceeded such that KeyguardManager.isDeviceLocked would still return true. Fix this by waiting for the message to be processed. Note that delays shouldn't be a problem here as we are soon calling reportKeyguardShowingChanged from the UiOffloadThread. Test: KeyguardLockedTests Change-Id: I0b312a5f02be3a3d1028d8bf0cd1b8e6a33476ce Fixes: 38219395
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions