diff options
author | Chet Haase <chet@google.com> | 2013-10-01 15:34:22 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2013-10-01 16:37:17 -0700 |
commit | 7fc27ea451dac0c89c8c4e6b80182ed1a7620a87 (patch) | |
tree | 5a532d2875d74389cbc0cb491dbd297950c4f408 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 607463788abd6168fa5f0133cf225600833268ae (diff) |
Make onClickHandler in KeyguardHostView a weak reference
The strong reference OnClickHandler caused bitmaps in keyguard to be
referenced when keyguard was not visible. This change makes the click
handler a static class with a weak reference to the hostView instance,
allowing those bitmaps to get collected and shaving ~845k off of the
heap size when the keyguard isn't showing.
Issue #10918599 SystemUI should have a round of Svelting
Change-Id: I69de8659ac14c1a4723d082dd3cd394d8b6097f1
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions