diff options
| -rw-r--r-- | packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java b/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java index 30db13611f4a..c1d9d0d0e142 100644 --- a/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java +++ b/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java @@ -65,6 +65,7 @@ public class RemoteAnimationTargetCompat { public final Rect localBounds; public final Rect sourceContainerBounds; public final Rect screenSpaceBounds; + public final Rect startScreenSpaceBounds; public final boolean isNotInRecents; public final Rect contentInsets; public final ActivityManager.RunningTaskInfo taskInfo; @@ -88,6 +89,7 @@ public class RemoteAnimationTargetCompat { localBounds = app.localBounds; sourceContainerBounds = app.sourceContainerBounds; screenSpaceBounds = app.screenSpaceBounds; + startScreenSpaceBounds = screenSpaceBounds; prefixOrderIndex = app.prefixOrderIndex; isNotInRecents = app.isNotInRecents; contentInsets = app.contentInsets; @@ -219,6 +221,8 @@ public class RemoteAnimationTargetCompat { localBounds.offsetTo(change.getEndRelOffset().x, change.getEndRelOffset().y); sourceContainerBounds = null; screenSpaceBounds = new Rect(change.getEndAbsBounds()); + startScreenSpaceBounds = new Rect(change.getStartAbsBounds()); + prefixOrderIndex = order; // TODO(shell-transitions): I guess we need to send content insets? evaluate how its used. contentInsets = new Rect(0, 0, 0, 0); |