Loading services/core/java/com/android/server/wm/WindowState.java +3 −1 Original line number Diff line number Diff line Loading @@ -3276,9 +3276,11 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP // just kill it. And if it is a window of foreground activity, the activity can be // restarted automatically if needed. Slog.w(TAG, "Exception thrown during dispatchAppVisibility " + this, e); if (android.os.Process.getUidForPid(mSession.mPid) == mSession.mUid) { android.os.Process.killProcess(mSession.mPid); } } } void onStartFreezingScreen() { mAppFreezing = true; Loading Loading
services/core/java/com/android/server/wm/WindowState.java +3 −1 Original line number Diff line number Diff line Loading @@ -3276,9 +3276,11 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP // just kill it. And if it is a window of foreground activity, the activity can be // restarted automatically if needed. Slog.w(TAG, "Exception thrown during dispatchAppVisibility " + this, e); if (android.os.Process.getUidForPid(mSession.mPid) == mSession.mUid) { android.os.Process.killProcess(mSession.mPid); } } } void onStartFreezingScreen() { mAppFreezing = true; Loading