Use shouldOfferSwitchingToNextInputMethod when available
With this CL, LatinIME starts using InputMethodManager#shouldOfferSwitchingToNextInputMethod when available and API level is higher than 19 (KitKat). Note that relevant settings of LatinIME will be ignored if InputMethodManager#shouldOfferSwitchingToNextInputMethod is considered to be available at the moment. We will revisit here to reorganize the user visible settings before the new global IME switching mechanism becomes publicly available. BUG: 12965588 Change-Id: I0188fa56cba8e983c61cef3ae3400a0e3821f718
Showing
- java/src/com/android/inputmethod/compat/InputMethodManagerCompatWrapper.java 11 additions, 0 deletions...d/inputmethod/compat/InputMethodManagerCompatWrapper.java
- java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java 1 addition, 1 deletion...rc/com/android/inputmethod/keyboard/KeyboardSwitcher.java
- java/src/com/android/inputmethod/latin/LatinIME.java 25 additions, 1 deletionjava/src/com/android/inputmethod/latin/LatinIME.java
- java/src/com/android/inputmethod/latin/RichInputMethodManager.java 12 additions, 0 deletions...com/android/inputmethod/latin/RichInputMethodManager.java
Loading
Please register or sign in to comment