summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2019-12-16 21:42:11 +0800
committerTiger Huang <tigerhuang@google.com>2019-12-23 13:21:10 +0800
commitced251f389b156031e5228d76ac8ecb77d787684 (patch)
tree8d0366aa5c1cdd60da2906453bb277f8b944facf /rs/java/android/renderscript/Program.java
parent8ffc40aa01763f145c4ecf7ab83bf1ac08a985df (diff)
Call InputEventReceiver.dispose from the right thread
TaskPositioner attaches the InputEventReceiver to the animation thread. This CL makes it to dispose the receiver in the same thread to avoid race conditions. This CL also makes InputEventReceiver.finalize call dispose from the right thread. Bug: 122054478 Fix: 122096091 Test: 1. Make a task enter free-form mode. 2. Drag and drop the task. 3. Check if InputEventReceiver.dispose and finishInputEvent are executed in the same thread. Change-Id: I2f8831e7fccca4f96562f2abe4962811339d02e9
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions