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

Commit f03c1390 authored by Dake Gu's avatar Dake Gu
Browse files

fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator

b/16575308

Change-Id: Ieb4f15a8ead7da9682c97d4d342cd77e0b85e5f8
parent 5438e4e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -549,7 +549,7 @@ abstract class ActivityTransitionCoordinator extends ResultReceiver {
        Bundle bundle = new Bundle();
        RectF tempBounds = new RectF();
        Matrix tempMatrix = new Matrix();
        for (int i = 0; i < mSharedElementNames.size(); i++) {
        for (int i = 0; i < mSharedElements.size(); i++) {
            View sharedElement = mSharedElements.get(i);
            String name = mSharedElementNames.get(i);
            captureSharedElementState(sharedElement, name, bundle, tempMatrix, tempBounds);