Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53be42a7 authored by Robert Carr's avatar Robert Carr
Browse files

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
parent 4c101c3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
    }