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

Commit eca09375 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Remove dead code" into main

parents cc2d929c ce515b6a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -685,9 +685,6 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation
     */
    private @InsetsType int mCancelledForNewAnimationTypes;

    private final Runnable mInvokeControllableInsetsChangedListeners =
            this::invokeControllableInsetsChangedListeners;

    private final InsetsState.OnTraverseCallbacks mRemoveGoneSources =
            new InsetsState.OnTraverseCallbacks() {

@@ -2206,7 +2203,6 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation
     * @return The types that are now animating due to a listener invoking control/show/hide
     */
    private @InsetsType int invokeControllableInsetsChangedListeners() {
        mHandler.removeCallbacks(mInvokeControllableInsetsChangedListeners);
        mLastStartedAnimTypes = 0;
        @InsetsType int types = calculateControllableTypes();
        int size = mControllableInsetsChangedListeners.size();