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

Commit 2f8452d6 authored by Tiger Huang's avatar Tiger Huang Committed by Automerger Merge Worker
Browse files

Merge "Fix a potential NullPointerException in InsetsPolicy" into rvc-dev am:...

Merge "Fix a potential NullPointerException in InsetsPolicy" into rvc-dev am: 8d4ffed2 am: 4c2dfec6 am: 0ea8ba2c

Change-Id: I4639495bedfdf5fbcadef448d93b6a921f8d644b
parents ddbbc27f 0ea8ba2c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -97,7 +97,8 @@ class InsetsPolicy {

    private void updateHideNavInputEventReceiver() {
        mPolicy.updateHideNavInputEventReceiver(!isHidden(ITYPE_NAVIGATION_BAR),
                mFocusedWin.mAttrs.insetsFlags.behavior != BEHAVIOR_SHOW_BARS_BY_TOUCH);
                mFocusedWin != null
                        && mFocusedWin.mAttrs.insetsFlags.behavior != BEHAVIOR_SHOW_BARS_BY_TOUCH);
    }

    boolean isHidden(@InternalInsetsType int type) {