mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-07 23:27:45 +00:00
change what can be stored in KeyboardLayoutSet subtype extra value
and some more preparations for adjustments related to language/layout settings upgrade
This commit is contained in:
parent
f2f7426ee5
commit
201b430362
25 changed files with 313 additions and 371 deletions
|
@ -211,7 +211,7 @@ public final class AndroidSpellCheckerService extends SpellCheckerService
|
|||
final KeyboardLayoutSet.Builder builder = new KeyboardLayoutSet.Builder(this, editorInfo);
|
||||
return builder
|
||||
.setKeyboardGeometry(SPELLCHECKER_DUMMY_KEYBOARD_WIDTH, SPELLCHECKER_DUMMY_KEYBOARD_HEIGHT)
|
||||
.setSubtype(RichInputMethodSubtype.getRichInputMethodSubtype(subtype))
|
||||
.setSubtype(RichInputMethodSubtype.Companion.get(subtype))
|
||||
.setIsSpellChecker(true)
|
||||
.disableTouchPositionCorrectionData()
|
||||
.build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue