fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator
b/16575308 Change-Id: Ieb4f15a8ead7da9682c97d4d342cd77e0b85e5f8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user