summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2019-02-11 12:15:38 -0800
committerRob Carr <racarr@google.com>2019-02-11 23:03:02 +0000
commit4a2d3741358cd4efa6373b43c208de5236441120 (patch)
tree15f1efe8a0f122ebdebc10c16324835f8600b518 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent38eded086355c37ba6aead0697967f7dbf7a92f9 (diff)
Postpone destroying leash until after cancel callback.
Currently we may end up releasing the leash (via Transaction#remove) before setting mCancelled on the animation. This means if another frame executes we could attempt to use a released surface. Here we cancel before releasing the surface, careful not to disturb other logic. Bug: 124112773 Test: Fixes them allegedly Change-Id: I920a1c8f891a5cdc53b1d55298f661abc91b3259
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions