diff options
| author | 2020-03-31 14:44:36 -0700 | |
|---|---|---|
| committer | 2020-03-31 14:44:36 -0700 | |
| commit | 53be42a75db7e2682c20e74c10bfe001a1723a92 (patch) | |
| tree | 76d672a3f6d5b3de4dfe667e079e2c0f69dc0d1e | |
| parent | 4c101c3f68308e82b10415441447d1586bf8030a (diff) | |
InsetAnimationThreadControlRunner: Don't copy controls
The controls are copied previously in collectSourceControls and
so this copy is unnecessary.
Bug: 150805473
Test: Existing tests pass
Change-Id: I98b51b4372ace95036e25e806d1ab646d2df7879
| -rw-r--r-- | core/java/android/view/InsetsAnimationThreadControlRunner.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/InsetsAnimationThreadControlRunner.java b/core/java/android/view/InsetsAnimationThreadControlRunner.java index 40ffa7ef48bf..3870f26e9990 100644 --- a/core/java/android/view/InsetsAnimationThreadControlRunner.java +++ b/core/java/android/view/InsetsAnimationThreadControlRunner.java @@ -91,7 +91,7 @@ public class InsetsAnimationThreadControlRunner implements InsetsAnimationContro @AnimationType int animationType, Handler mainThreadHandler) { mMainThreadHandler = mainThreadHandler; mOuterCallbacks = controller; - mControl = new InsetsAnimationControlImpl(copyControls(controls), frame, state, listener, + mControl = new InsetsAnimationControlImpl(controls, frame, state, listener, types, mCallbacks, durationMs, interpolator, animationType); InsetsAnimationThread.getHandler().post(() -> listener.onReady(mControl, types)); } |