Merge "Fix bad loop logic"
This commit is contained in:
committed by
Android (Google) Code Review
commit
96e99cbd9e
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user