summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorQasid Ahmad Sadiq <qasid@google.com>2019-06-06 19:53:23 -0700
committerQasid Ahmad Sadiq <qasid@google.com>2019-06-10 19:47:34 -0700
commit2e6efdefa6a995759941209b4254cdcfbd4bc6d5 (patch)
tree106f285475d14ac2b49996872c2b6e7603228b21 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent365e2c0dae8d9826ba1e00589795f9630d93442e (diff)
AccessibilityNodeIdManager should hold onto weak references of Views.
... as opposed to strong references. In case the calls between register and unregister aren't matched, we don't want to be leaking views. I haven't seen any real eveidence of there being leaks, just a report. But this is preventative. Created a "WeakSparseArray", which wraps SparseArray, and passes in a kind of WeakReference that has an id. The references become unreachable, we use the id to remove the the entry from the SparseArray. Test: Used the device for a bit with talkback on. CTSAccessibility* Change-Id: I8d11727428f56fc06007232ae341d1409a11991f Fix: 134506015
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions