diff options
| author | 2011-01-18 14:34:52 +0100 | |
|---|---|---|
| committer | 2011-01-18 13:20:34 -0800 | |
| commit | 1560003d4a1a0ce36bb288905a6a317c1fd74b32 (patch) | |
| tree | 9b63e68ed2c4e5b3b2df7a42c96f6c52fa0e4d73 /libs/hwui/TextDropShadowCache.cpp | |
| parent | 48395385039a0c845bba8913c8d0c76981425aa4 (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 'libs/hwui/TextDropShadowCache.cpp')
0 files changed, 0 insertions, 0 deletions