summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/src
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2013-09-24 14:53:30 -0700
committerAdam Powell <adamp@google.com>2013-09-24 15:20:07 -0700
commit31986b5b696c399b356c8819cb581441027bef36 (patch)
tree90ac978ca383e75632d7ae4206ff008991c997c5 /packages/DocumentsUI/src
parent254f5ffc47fe26d48fe3fd9f3bc513805dd04ac5 (diff)
downloadframeworks_base-31986b5b696c399b356c8819cb581441027bef36.zip
frameworks_base-31986b5b696c399b356c8819cb581441027bef36.tar.gz
frameworks_base-31986b5b696c399b356c8819cb581441027bef36.tar.bz2
Fix monkey bugs in ListView
* Don't run item click listeners as part of touch mode reset if the ListView is being detached from its window. Some calling code makes assumptions around this. * Remove redundant state tracking for window attachment from AbsListView now that we have View#isAttachedToWindow(). The timing of View's mechanism is closer to what we want here anyway - subclasses calling super.onDetachedFromWindow() as the first line of an overridden onDetachedFromWindow() method will see the window as being in a detached state while the rest of the method runs, resulting in the behavior described in the first bullet point above. Bug 10834897 Change-Id: Ic9fdff3c5cfc4996361a7fb1a863547b4d1a2c9c
Diffstat (limited to 'packages/DocumentsUI/src')
0 files changed, 0 insertions, 0 deletions