Loading services/core/java/com/android/server/wm/AppWindowToken.java +8 −4 Original line number Diff line number Diff line Loading @@ -254,10 +254,14 @@ class AppWindowToken extends WindowToken { void removeAllWindows() { for (int winNdx = allAppWindows.size() - 1; winNdx >= 0; --winNdx) { try { WindowState win = allAppWindows.get(winNdx); if (WindowManagerService.DEBUG_WINDOW_MOVEMENT) Slog.w(WindowManagerService.TAG, "removeAllWindows: removing win=" + win); win.mService.removeWindowLocked(win.mSession, win); } catch (IndexOutOfBoundsException e) { Slog.e(WindowManagerService.TAG, "Error while removing window : " + e); } } } Loading Loading
services/core/java/com/android/server/wm/AppWindowToken.java +8 −4 Original line number Diff line number Diff line Loading @@ -254,10 +254,14 @@ class AppWindowToken extends WindowToken { void removeAllWindows() { for (int winNdx = allAppWindows.size() - 1; winNdx >= 0; --winNdx) { try { WindowState win = allAppWindows.get(winNdx); if (WindowManagerService.DEBUG_WINDOW_MOVEMENT) Slog.w(WindowManagerService.TAG, "removeAllWindows: removing win=" + win); win.mService.removeWindowLocked(win.mSession, win); } catch (IndexOutOfBoundsException e) { Slog.e(WindowManagerService.TAG, "Error while removing window : " + e); } } } Loading