summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-10-30 06:37:29 -0700
committerChet Haase <chet@google.com>2013-10-31 14:25:56 -0700
commit58ad12208afcf9fdce735dead8449c4db375344d (patch)
tree64d6bfb5e89e50f2d24420e9243ef0dd66bc8a64 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentca8547b435d53aef94646d2e6bc31b09a34a086f (diff)
Fix leak in TransitionInflater
A static map in TransitionInflater keyed off of Context instances, which could cause contexts/activities to leak over time. This fix removes that map and simply creates a new inflater each time. The savings of the cached inflater was minimal an unnecessary, and the intended sharing is in the context embedded in the inflater anyway. Issue #11436919 leak in TransitionInflator Change-Id: Ic05ca47f57723bd572bb6143df4035d66eedf5ad
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions