summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2018-01-03 15:54:43 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-01-04 20:55:20 +0000
commite6c890c57f4183a10d6b03d9f3ab4e096246180c (patch)
tree71bc20b7beecbf27050bf4bddbfacb26fb457df0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3873eead0d50a4a90b78c8dad6b8edf7d910cff4 (diff)
Fix issue with 0 duration animations
If the animation length was 0, it was possible that the finish runnable is run before applying the pending transaction to reparent the surface onto the leash. In that case, the reparent to the leash will be executed after, taking precedence. Then, the leash gets destroyed, and we loose the surface, leading to all kinds of crashes. Test: Disable animation duration scale, open a couple of apps, observe no crash. Test: go/wm-smoke Change-Id: I04db7b7c1c3295779b8afead97d7850f808f9081 Fixes: 71499373 (cherry picked from commit a384403e1297bd61c76907631c31bf29d33fd6da)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions