summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2014-09-09 15:46:35 -0400
committerJason Monk <jmonk@google.com>2014-09-09 15:46:35 -0400
commit8a2d4fc5be174fb200c788659d0a422564ae6f97 (patch)
tree2d2747b9b23431028663558cf7f760d4e2f51e0c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent24e08d0692583fbb038ea26236d9700b9019f1f1 (diff)
Fix blank QS Panel after double tap on profile icon
When handleShowDetailImpl is called twice in quick succession (show then not show), there is a race condition. If the second call comes in before the animation finishes, the second call will call setGridContentVisibility(true) before the onAnimationEnd callback calls setGridContentVisibility(false). At that point the grid is assumed to be visible when it isn't. To fix this the HideGridContentWhenDone listener removes itself as a listener when the animation is cancelled, this will avoid onAnimationEnd being called in this circumstance, leaving the grid visible (as it is assumed to be). Bug: 17424221 Change-Id: I67b84b669ebe0e061e4a2c7f98e8151c221ee4fb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions