summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorOlawale Ogunwale <ogunwale@google.com>2015-04-04 16:29:32 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-04 16:29:32 +0000
commit972099c752d97ed8235eab59cabc7f722c7fab95 (patch)
tree82a6cae3d91a98e35751e5d9aad1384ee6af0109 /services
parent8dda89cae7a7ff846ba03cbf6cb0d3434b473c4b (diff)
parent1d359daa607042417d095aaa83b78befc1b5f8a3 (diff)
downloadframeworks_base-972099c752d97ed8235eab59cabc7f722c7fab95.zip
frameworks_base-972099c752d97ed8235eab59cabc7f722c7fab95.tar.gz
frameworks_base-972099c752d97ed8235eab59cabc7f722c7fab95.tar.bz2
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
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/wm/WindowState.java5
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 11cb68b..d7b537f 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();
}
}