Merge "Forward Activity stop signal to attached windows." into pi-dev

am: d1366f604a

Change-Id: I6862c29dcda7a0a16eeafb60688e3176a34aba8b
This commit is contained in:
Rob Carr
2018-04-05 12:31:07 -07:00
committed by android-build-merger

View File

@@ -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);
}
}
}