Loading core/java/android/widget/PopupWindow.java +12 −10 Original line number Diff line number Diff line Loading @@ -1048,8 +1048,9 @@ public class PopupWindow { if (isShowing() && mPopupView != null) { unregisterForScrollChanged(); try { mWindowManager.removeView(mPopupView); } finally { if (mPopupView != mContentView && mPopupView instanceof ViewGroup) { ((ViewGroup) mPopupView).removeView(mContentView); } Loading @@ -1061,6 +1062,7 @@ public class PopupWindow { } } } } /** * Sets the listener to be called when the window is dismissed. Loading Loading
core/java/android/widget/PopupWindow.java +12 −10 Original line number Diff line number Diff line Loading @@ -1048,8 +1048,9 @@ public class PopupWindow { if (isShowing() && mPopupView != null) { unregisterForScrollChanged(); try { mWindowManager.removeView(mPopupView); } finally { if (mPopupView != mContentView && mPopupView instanceof ViewGroup) { ((ViewGroup) mPopupView).removeView(mContentView); } Loading @@ -1061,6 +1062,7 @@ public class PopupWindow { } } } } /** * Sets the listener to be called when the window is dismissed. Loading