summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2017-05-09 11:19:42 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2017-05-09 11:19:42 -0700
commitcf1b224a789f8412211d22fba9551ce01e54be14 (patch)
tree0f6fef17f94a1002c184794e5dcafd7bc845bad2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent00487cf9368df10aab90c5a194667ce56acb49e4 (diff)
IPlayer has weak reference to PlayerBase
The implementation of the IPlayer interface was an inner class that implicitly held a strong reference to the PlayerBase instance, preventing subclasses of PlayerBase to be GC'd. The fix consists in making the IPlayer implementation be a static class and hold a weak reference to PlayerBase. Test: see bug Bug: 35359144 Change-Id: I5f7d658f4bda07c92cfdb437b42d3f78213ab552
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions