diff options
Diffstat (limited to 'android/view/WindowManagerGlobal.java')
-rw-r--r-- | android/view/WindowManagerGlobal.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/view/WindowManagerGlobal.java b/android/view/WindowManagerGlobal.java index cca66d6b..08c2d0b7 100644 --- a/android/view/WindowManagerGlobal.java +++ b/android/view/WindowManagerGlobal.java @@ -610,6 +610,10 @@ public final class WindowManagerGlobal { ViewRootImpl root = mRoots.get(i); // Client might remove the view by "stopped" event. root.setWindowStopped(stopped); + // Recursively forward stopped state to View's attached + // to this Window rather than the root application token, + // e.g. PopupWindow's. + setStoppedState(root.mAttachInfo.mWindowToken, stopped); } } } |