summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorQasid Ahmad Sadiq <qasid@google.com>2019-02-27 18:26:34 -0800
committerQasid Ahmad Sadiq <qasid@google.com>2019-02-27 18:26:34 -0800
commit1aa9da4250326da33e9666aa685ef747ff6ee40a (patch)
tree206b3f1b305ecbba140096e1b77634c5f7970910 /rs/java/android/renderscript/Program.java
parent763ca762a1ac42b0dcf07c62d68b681af4fd9399 (diff)
Make mIdsToViews thread safe.
View calls like "attachedToWindow" and "detachedToWindow" can be called off of the main thread, on "android.anim" this happens in the system process for application splash screens. Let's wrap it with a synchronized block. Fix: 124110476 Test: The crash is a race condition, so the best I can do is make sure it generally doesn't crash anything by trying out both normal and virtual hierarchies in Talkback. Change-Id: I19f972a97b5ac80917f8dd77ac79bf7e3d5e826c
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions