Merge "Include the end bounds in the whole screen bounds" into udc-dev
This commit is contained in:
@@ -214,6 +214,7 @@ class TaskFragmentAnimationRunner extends IRemoteAnimationRunner.Stub {
|
||||
openingWholeScreenBounds.union(target.screenSpaceBounds);
|
||||
} else {
|
||||
closingTargets.add(target);
|
||||
closingWholeScreenBounds.union(target.screenSpaceBounds);
|
||||
// Union the start bounds since this may be the ClosingChanging animation.
|
||||
closingWholeScreenBounds.union(target.startBounds);
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ class ActivityEmbeddingAnimationRunner {
|
||||
openingWholeScreenBounds.union(change.getEndAbsBounds());
|
||||
} else {
|
||||
closingChanges.add(change);
|
||||
closingWholeScreenBounds.union(change.getStartAbsBounds());
|
||||
closingWholeScreenBounds.union(change.getEndAbsBounds());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user