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

Commit 4aa44211 authored by kwaky's avatar kwaky Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Delete superfluous call of mInsetsController.onControlsChanged. am: 1f2cb484

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13835416

Change-Id: I1525f40dd3711a7042d8d39ac43c6eb8692afe59
parents 11543939 1f2cb484
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import android.util.SparseArray;
import android.view.IDisplayWindowInsetsController;
import android.view.IWindowManager;
import android.view.InsetsController;
import android.view.InsetsSourceControl;
import android.view.InsetsState;
import android.view.WindowInsets;

@@ -123,13 +122,6 @@ public class DisplaySystemBarsController extends DisplayImeController {
            }
        }

        @Override
        public void insetsControlChanged(InsetsState insetsState,
                InsetsSourceControl[] activeControls) {
            super.insetsControlChanged(insetsState, activeControls);
            mInsetsController.onControlsChanged(activeControls);
        }

        @Override
        public void hideInsets(@WindowInsets.Type.InsetsType int types, boolean fromIme) {
            if ((types & WindowInsets.Type.ime()) == 0) {