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

Commit 96e99cbd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bad loop logic"

parents 6423d01b 7e968246
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ public class RemoteTransitionCompat implements Parcelable {
                    // re-showing it's task).
                    final WindowContainerTransaction wct = new WindowContainerTransaction();
                    final SurfaceControl.Transaction t = new SurfaceControl.Transaction();
                    for (int i = mPausingTasks.size() - 1; i >= 0; ++i) {
                    for (int i = mPausingTasks.size() - 1; i >= 0; --i) {
                        // reverse order so that index 0 ends up on top
                        wct.reorder(mPausingTasks.get(i), true /* onTop */);
                        t.show(mInfo.getChange(mPausingTasks.get(i)).getLeash());