diff options
| author | 2015-04-04 16:29:32 +0000 | |
|---|---|---|
| committer | 2015-04-04 16:29:32 +0000 | |
| commit | 972099c752d97ed8235eab59cabc7f722c7fab95 (patch) | |
| tree | 82a6cae3d91a98e35751e5d9aad1384ee6af0109 | |
| parent | 8dda89cae7a7ff846ba03cbf6cb0d3434b473c4b (diff) | |
| parent | 1d359daa607042417d095aaa83b78befc1b5f8a3 (diff) | |
am 1d359daa: Merge "Remove the window whose client process has died or become zombie"
* commit '1d359daa607042417d095aaa83b78befc1b5f8a3':
Remove the window whose client process has died or become zombie
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowState.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/wm/WindowState.java b/services/core/java/com/android/server/wm/WindowState.java index 11cb68bd3a62..d7b537f566de 100644 --- a/services/core/java/com/android/server/wm/WindowState.java +++ b/services/core/java/com/android/server/wm/WindowState.java @@ -1473,6 +1473,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(); } } |