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

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

Merge "Avoid redundant InputConnection#reportFullscreenMode() callback"

parents 65969ee5 60089b28
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -957,9 +957,10 @@ public final class InputMethodManager {
                    final boolean fullscreen = msg.arg1 != 0;
                    InputConnection ic = null;
                    synchronized (mH) {
                        mFullscreenMode = fullscreen;
                        if (mServedInputConnectionWrapper != null) {
                        if (mFullscreenMode != fullscreen
                                && mServedInputConnectionWrapper != null) {
                            ic = mServedInputConnectionWrapper.getInputConnection();
                            mFullscreenMode = fullscreen;
                        }
                    }
                    if (ic != null) {