Loading services/core/java/com/android/server/wm/WindowManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -308,6 +308,7 @@ public class WindowManagerService extends IWindowManager.Stub private static final String SIZE_OVERRIDE = "ro.config.size_override"; private static final int MAX_SCREENSHOT_RETRIES = 3; private static final int WINDOW_EXITING_TIME_OUT = 6000; // The flag describing a full screen app window (where the app takes care of drawing under the // SystemUI bars) Loading Loading @@ -9825,6 +9826,11 @@ public class WindowManagerService extends IWindowManager.Stub final int N = windows.size(); for (i=N-1; i>=0; i--) { WindowState w = windows.get(i); if(w.mExiting && (w.mLastFreezeDuration > WINDOW_EXITING_TIME_OUT) && w.mInputChannel == null) { removeWindowInnerLocked(w.mSession, w); } final TaskStack stack = w.getStack(); if (stack == null && w.getAttrs().type != TYPE_PRIVATE_PRESENTATION) { continue; Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -308,6 +308,7 @@ public class WindowManagerService extends IWindowManager.Stub private static final String SIZE_OVERRIDE = "ro.config.size_override"; private static final int MAX_SCREENSHOT_RETRIES = 3; private static final int WINDOW_EXITING_TIME_OUT = 6000; // The flag describing a full screen app window (where the app takes care of drawing under the // SystemUI bars) Loading Loading @@ -9825,6 +9826,11 @@ public class WindowManagerService extends IWindowManager.Stub final int N = windows.size(); for (i=N-1; i>=0; i--) { WindowState w = windows.get(i); if(w.mExiting && (w.mLastFreezeDuration > WINDOW_EXITING_TIME_OUT) && w.mInputChannel == null) { removeWindowInnerLocked(w.mSession, w); } final TaskStack stack = w.getStack(); if (stack == null && w.getAttrs().type != TYPE_PRIVATE_PRESENTATION) { continue; Loading