diff options
author | Mathias Jeppsson <mathias.jeppsson@sonyericsson.com> | 2011-01-18 14:34:52 +0100 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonyericsson.com> | 2011-01-18 14:34:52 +0100 |
commit | 190acd4dd0ffdadccd3857740e7831143ac2a496 (patch) | |
tree | f8a38b1d1ed737f6dbcbb5099323f442faa673a3 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7d234fabe61cd5f034fe4ff4484209fbf5130c4d (diff) |
Fixing memory leak in PreferenceScreen.
Every time the PreferenceScreen is displayed a new ListView is
created and bound to the adapter. As the same adapter is used during
the lifetime of PreferenceScreen and the listviews never gets
unbound, the adapter will contain a list of unused views. The old view
should be unbound from adapter when we create a new view.
Change-Id: I13e2d0dc79c8ff79b58efa650653e3f84c6e53c5
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions