Merge "Fixed NPE during monkey testing."

This commit is contained in:
TreeHugger Robot
2017-02-01 19:18:14 +00:00
committed by Android (Google) Code Review

View File

@@ -749,6 +749,9 @@ final class ActivityRecord implements AppWindowContainerListener {
}
void removeWindowContainer() {
// Resume key dispatching if it is currently paused before we remove the container.
resumeKeyDispatchingLocked();
mWindowContainerController.removeContainer(getDisplayId());
mWindowContainerController = null;
}