commit | aee6ee94675d56e71a42d52b16b8d8e5fa6ea3ff | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue May 09 16:19:36 2017 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue May 09 16:19:36 2017 -0700 |
tree | 121d3c9f33121162953940636784b6a158e48b73 | |
parent | cf1b224a789f8412211d22fba9551ce01e54be14 [diff] |
IAppOpsCallback has weak reference to PlayerBase The implementation of the IAppOpsCallback 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 IAppOpsCallback implementation be a static class and hold a weak reference to PlayerBase. Test: see bug Bug: 35359144 Change-Id: Ic97d07dad0be2376eef160d01ff4e4a9e5ee0bcd