Fix ListView filter popups when window focus changes

Change-Id: I8c468900d5dd4d8d82308e2bed3bf992b6c803c7
This commit is contained in:
Adam Powell
2010-03-09 15:34:09 -08:00
parent 1596136562
commit 97566043af

View File

@@ -1641,7 +1641,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
mResurrectToPosition = mSelectedPosition;
}
} else {
if (mFiltered) {
if (mFiltered && !mPopupHidden) {
// Show the type filter only if a filter is in effect
showPopup();
}
@@ -3510,7 +3510,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
if (mPopup != null) {
mPopup.dismiss();
}
mPopupHidden = false;
}
/**