diff options
| author | Winson Chung <winsonc@google.com> | 2018-02-07 18:30:40 +0000 |
|---|---|---|
| committer | Winson Chung <winsonc@google.com> | 2018-02-07 18:30:40 +0000 |
| commit | bb5d97f00fd5ee64eaac110aa700cec2abf56a20 (patch) | |
| tree | adba203392f3bc7744de329c7797f558210a5fef /core/java/android/view/RemoteAnimationTarget.java | |
| parent | 67f31199fb65c4bd89838f826afc00205d2241e2 (diff) | |
Revert "Exposing content insets and minimized home bounds for recents transition"
This reverts commit 67f31199fb65c4bd89838f826afc00205d2241e2.
Reason for revert: Need to wait for the Launcher drop at EOD today
Change-Id: I039cd3092d786c62a88f599eb79c0704c6257981
Diffstat (limited to 'core/java/android/view/RemoteAnimationTarget.java')
| -rw-r--r-- | core/java/android/view/RemoteAnimationTarget.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/core/java/android/view/RemoteAnimationTarget.java b/core/java/android/view/RemoteAnimationTarget.java index facf575872ed..c28c3894482d 100644 --- a/core/java/android/view/RemoteAnimationTarget.java +++ b/core/java/android/view/RemoteAnimationTarget.java @@ -79,11 +79,6 @@ public class RemoteAnimationTarget implements Parcelable { public final Rect clipRect; /** - * The insets of the main app window. - */ - public final Rect contentInsets; - - /** * The index of the element in the tree in prefix order. This should be used for z-layering * to preserve original z-layer order in the hierarchy tree assuming no "boosting" needs to * happen. @@ -110,14 +105,13 @@ public class RemoteAnimationTarget implements Parcelable { public final WindowConfiguration windowConfiguration; public RemoteAnimationTarget(int taskId, int mode, SurfaceControl leash, boolean isTranslucent, - Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, - Rect sourceContainerBounds, WindowConfiguration windowConfig) { + Rect clipRect, int prefixOrderIndex, Point position, Rect sourceContainerBounds, + WindowConfiguration windowConfig) { this.mode = mode; this.taskId = taskId; this.leash = leash; this.isTranslucent = isTranslucent; this.clipRect = new Rect(clipRect); - this.contentInsets = new Rect(contentInsets); this.prefixOrderIndex = prefixOrderIndex; this.position = new Point(position); this.sourceContainerBounds = new Rect(sourceContainerBounds); @@ -130,7 +124,6 @@ public class RemoteAnimationTarget implements Parcelable { leash = in.readParcelable(null); isTranslucent = in.readBoolean(); clipRect = in.readParcelable(null); - contentInsets = in.readParcelable(null); prefixOrderIndex = in.readInt(); position = in.readParcelable(null); sourceContainerBounds = in.readParcelable(null); @@ -149,7 +142,6 @@ public class RemoteAnimationTarget implements Parcelable { dest.writeParcelable(leash, 0 /* flags */); dest.writeBoolean(isTranslucent); dest.writeParcelable(clipRect, 0 /* flags */); - dest.writeParcelable(contentInsets, 0 /* flags */); dest.writeInt(prefixOrderIndex); dest.writeParcelable(position, 0 /* flags */); dest.writeParcelable(sourceContainerBounds, 0 /* flags */); |
