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

Commit 7e968246 authored by Evan Rosky's avatar Evan Rosky
Browse files

Fix bad loop logic

Accidentally incremented instead of decremented.

Bug: 183993924
Test: launcher tests on treehugger
Change-Id: Ib06a21e5a328de871d21efb1991ec498c1a7e3fd
parent 8435d837
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());