Merge "Remove the window whose client process has died or become zombie"
This commit is contained in:
@ -1434,6 +1434,11 @@ final class WindowState implements WindowManagerPolicy.WindowState {
|
|||||||
mOrientationChanging = false;
|
mOrientationChanging = false;
|
||||||
mLastFreezeDuration = (int)(SystemClock.elapsedRealtime()
|
mLastFreezeDuration = (int)(SystemClock.elapsedRealtime()
|
||||||
- mService.mDisplayFreezeTime);
|
- 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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user