DO NOT MERGE Delete superfluous call of mInsetsController.onControlsChanged. am: 1f2cb484f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13835416 Change-Id: I1525f40dd3711a7042d8d39ac43c6eb8692afe59
This commit is contained in:
@@ -25,7 +25,6 @@ import android.util.SparseArray;
|
|||||||
import android.view.IDisplayWindowInsetsController;
|
import android.view.IDisplayWindowInsetsController;
|
||||||
import android.view.IWindowManager;
|
import android.view.IWindowManager;
|
||||||
import android.view.InsetsController;
|
import android.view.InsetsController;
|
||||||
import android.view.InsetsSourceControl;
|
|
||||||
import android.view.InsetsState;
|
import android.view.InsetsState;
|
||||||
import android.view.WindowInsets;
|
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
|
@Override
|
||||||
public void hideInsets(@WindowInsets.Type.InsetsType int types, boolean fromIme) {
|
public void hideInsets(@WindowInsets.Type.InsetsType int types, boolean fromIme) {
|
||||||
if ((types & WindowInsets.Type.ime()) == 0) {
|
if ((types & WindowInsets.Type.ime()) == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user