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

Commit 83c804be authored by Yohei Yukawa's avatar Yohei Yukawa Committed by android-build-merger
Browse files

Merge "Prevent duplicated registration of OnComputeInternalInsetsListener"

automerge: efd9abb7

* commit 'efd9abb7':
  Prevent duplicated registration of OnComputeInternalInsetsListener
parents aee7f64c efd9abb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -708,6 +708,7 @@ public class InputMethodService extends AbstractInputMethodService {
        mRootView.setSystemUiVisibility(
                View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
        mWindow.setContentView(mRootView);
        mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener(mInsetsComputer);
        mRootView.getViewTreeObserver().addOnComputeInternalInsetsListener(mInsetsComputer);
        if (Settings.Global.getInt(getContentResolver(),
                Settings.Global.FANCY_IME_ANIMATIONS, 0) != 0) {