Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85aea366 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Remove Popup immediately rather than defer it." into jb-dev

parents 101fb9fe b82d0740
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1253,7 +1253,7 @@ public class PopupWindow {
            unregisterForScrollChanged();
            unregisterForScrollChanged();


            try {
            try {
                mWindowManager.removeView(mPopupView);                
                mWindowManager.removeViewImmediate(mPopupView);
            } finally {
            } finally {
                if (mPopupView != mContentView && mPopupView instanceof ViewGroup) {
                if (mPopupView != mContentView && mPopupView instanceof ViewGroup) {
                    ((ViewGroup) mPopupView).removeView(mContentView);
                    ((ViewGroup) mPopupView).removeView(mContentView);