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

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

am 30b74ccf: am 80d11912: am b503e3f2: Merge "Don\'t destroy surfaces of...

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

* commit '30b74ccf':
  Don't destroy surfaces of activities launched behind early.
parents 4bcc9f26 30b74ccf
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 {