Merge "Remove the window whose client process has died or become zombie"

This commit is contained in:
Olawale Ogunwale
2015-04-04 16:12:39 +00:00
committed by Gerrit Code Review

View File

@ -1434,6 +1434,11 @@ final class WindowState implements WindowManagerPolicy.WindowState {
mOrientationChanging = false;
mLastFreezeDuration = (int)(SystemClock.elapsedRealtime()
- mService.mDisplayFreezeTime);
// We are assuming the hosting process is dead or in a zombie state.
Slog.w(TAG, "Failed to report 'resized' to the client of " + this
+ ", removing this window.");
mService.mPendingRemove.add(this);
mService.requestTraversalLocked();
}
}