Merge "Forward Activity stop signal to attached windows." into pi-dev
am: d1366f604a
Change-Id: I6862c29dcda7a0a16eeafb60688e3176a34aba8b
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user