summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYuncheol Heo <ycheo@google.com>2021-03-18 16:41:05 -0700
committerYuncheol Heo <ycheo@google.com>2021-03-19 12:34:51 -0700
commit7ff59f855648f351d33a3d85f2e89c2f7f302233 (patch)
tree72f11adcd0c1603e0aae5a772ea0123413f55733 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent11a7f13364724870996ab47288be5738263b01f2 (diff)
Add Theme.setNewResourcesImpl() method.
- Race condition between Theme.setImpl() cnd Theme.applyStyle() can happen when creating Window and Configuration-change occur together. - To maintain the integrity, the whole process of creating new ThemeImpl and setting it in Resources.setImpl() should be guarded by the lock. - Moves the lock of ThemeImpl.mKey to Theme.mLock. Bug: 173558667 Test: manual test in the bug Change-Id: I9ebdc48333b188c0b26b1b7490a5cbb34bbe6e0f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions