Merge "Avoid redundant InputConnection#reportFullscreenMode() callback"
This commit is contained in:
committed by
Android (Google) Code Review
commit
16eafe2624
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user