Merge "Remove duplicated startInputUncheckedLocked invocation" into sc-dev

This commit is contained in:
Ming-Shin Lu
2021-03-01 12:21:01 +00:00
committed by Android (Google) Code Review

View File

@@ -3647,12 +3647,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
hideCurrentInputLocked(mCurFocusedWindow, 0, null,
SoftInputShowHideReason.HIDE_SAME_WINDOW_FOCUSED_WITHOUT_EDITOR);
}
res = startInputUncheckedLocked(cs, inputContext, missingMethods, attribute,
startInputFlags, startInputReason);
} else {
res = startInputUncheckedLocked(cs, inputContext, missingMethods, attribute,
startInputFlags, startInputReason);
}
res = startInputUncheckedLocked(cs, inputContext, missingMethods, attribute,
startInputFlags, startInputReason);
} else {
res = InputBindResult.NULL_EDITOR_INFO;
}