summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-22 11:30:23 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-22 11:30:23 -0700
commit26654274905961835a36dbcfe98dc745e8beefbf (patch)
treedb307d9196c1463617e8720ca9c96b424fb4d90f /core
parentb551fb872be9b758c7793f56398d25a74d4a404c (diff)
parent1f7f3c336a767802a0cada789f6b2055f45911dc (diff)
downloadframeworks_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.java3
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);