diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-22 11:30:23 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-22 11:30:23 -0700 |
commit | 26654274905961835a36dbcfe98dc745e8beefbf (patch) | |
tree | db307d9196c1463617e8720ca9c96b424fb4d90f /core | |
parent | b551fb872be9b758c7793f56398d25a74d4a404c (diff) | |
parent | 1f7f3c336a767802a0cada789f6b2055f45911dc (diff) | |
download | frameworks_base-26654274905961835a36dbcfe98dc745e8beefbf.zip frameworks_base-26654274905961835a36dbcfe98dc745e8beefbf.tar.gz frameworks_base-26654274905961835a36dbcfe98dc745e8beefbf.tar.bz2 |
Merge change 8216 into donut
* changes:
Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/widget/AbsListView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/widget/AbsListView.java b/core/java/android/widget/AbsListView.java index 777beed..eea97dc 100644 --- a/core/java/android/widget/AbsListView.java +++ b/core/java/android/widget/AbsListView.java @@ -1535,6 +1535,9 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te protected void onDetachedFromWindow() { super.onDetachedFromWindow(); + // Dismiss the popup in case onSaveInstanceState() was not invoked + dismissPopup(); + final ViewTreeObserver treeObserver = getViewTreeObserver(); if (treeObserver != null) { treeObserver.removeOnTouchModeChangeListener(this); |