Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dbcd203 authored by Chong Zhang's avatar Chong Zhang Committed by Android (Google) Code Review
Browse files

Merge "Clearing mDestroying flag when app is made visible again" into nyc-dev

parents f35b9914 5471e90e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -310,6 +310,11 @@ class AppWindowToken extends WindowToken {
            if (!(win.mRemoveOnExit && win.mExiting)) {
                win.mExiting = exiting;
            }
            // If we're no longer exiting, remove the window from destroying list
            if (!win.mExiting && win.mDestroying) {
                win.mDestroying = false;
                service.mDestroySurface.remove(win);
            }
        }
    }

@@ -326,7 +331,7 @@ class AppWindowToken extends WindowToken {
            }

            if (!mAppStopped && !win.mClientRemoveRequested) {
                return;
                continue;
            }

            win.destroyOrSaveSurface();