Fix NPE in moveSharedElementsToOverlay
Bug 18119532 Change-Id: I334bda2d63427032583a15a483e000412024c150
This commit is contained in:
@@ -711,7 +711,7 @@ abstract class ActivityTransitionCoordinator extends ResultReceiver {
|
||||
}
|
||||
|
||||
protected void moveSharedElementsToOverlay() {
|
||||
if (!mWindow.getSharedElementsUseOverlay()) {
|
||||
if (mWindow == null || !mWindow.getSharedElementsUseOverlay()) {
|
||||
return;
|
||||
}
|
||||
int numSharedElements = mSharedElements.size();
|
||||
|
||||
Reference in New Issue
Block a user