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

Commit f93526c1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add status/navigation bar existing check before create input consumer."

parents 3c3ac03a 66dc0358
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4495,7 +4495,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                            mHandler.obtainMessage(MSG_DISPOSE_INPUT_CONSUMER, mInputConsumer));
                    mInputConsumer = null;
                }
            } else if (mInputConsumer == null) {
            } else if (mInputConsumer == null && mStatusBar != null && canHideNavigationBar()) {
                mInputConsumer = mWindowManagerFuncs.createInputConsumer(mHandler.getLooper(),
                        INPUT_CONSUMER_NAVIGATION,
                        (channel, looper) -> new HideNavInputEventReceiver(channel, looper));