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

Commit 80d11912 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android Git Automerger
Browse files

am b503e3f2: Merge "Don\'t destroy surfaces of activities launched behind early." into lmp-mr1-dev

* commit 'b503e3f2':
  Don't destroy surfaces of activities launched behind early.
parents 91a5dd9b b503e3f2
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -308,13 +308,9 @@ public class AppWindowAnimator {

        transformation.clear();

        final int N = mAllAppWinAnimators.size();
        for (int i=0; i<N; i++) {
            final WindowStateAnimator winAnim = mAllAppWinAnimators.get(i);
            if (mAppToken.mLaunchTaskBehind) {
                winAnim.mWin.mExiting = true;
            }
            winAnim.finishExit();
        final int numAllAppWinAnimators = mAllAppWinAnimators.size();
        for (int i = 0; i < numAllAppWinAnimators; i++) {
            mAllAppWinAnimators.get(i).finishExit();
        }
        if (mAppToken.mLaunchTaskBehind) {
            try {