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

Commit ce515b6a authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove dead code

The runnable is never used, which should be removed with
I3210df9bcc087f5fba712e0e7ac4922475c3b88d

Bug: 163976519
Flag: EXEMPT remove dead code
Test: CtsWindowManagerDeviceInsets
Change-Id: Ic30bef4bcd22bbb35625fa4da320b99eab650db0
parent 62253d6f
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();