summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-05-13 11:52:37 -0700
committerRomain Guy <romainguy@google.com>2010-05-13 14:03:09 -0700
commit82afc7b32b5a22fe5a0f1a98e8fd0873a4b7f9a1 (patch)
tree5ab42580d6f3e4493d6327596e5b6c8b9dd719ce /graphics/java/android/renderscript/RenderScriptGL.java
parentd4a2fffefdd27450ce7ef3867d2a2aaf87315969 (diff)
Prevent possible leak in AbsListViews.
This change unregisters a list's data observer from the adapter when the list is detached from the window. The default data observer impl. is a non-static inner class with a synthesized pointer to the list. Thus if an app keeps the adapter around the list is also kept around. This can be a problem with dialogs in particular. Change-Id: Ia95a995d3f54b9caf1bbcd2c7239a0318511b08c
Diffstat (limited to 'graphics/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions