mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-08 07:37:41 +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
|
@ -857,7 +857,7 @@ public class LatinIME extends InputMethodService implements
|
|||
public void onCurrentInputMethodSubtypeChanged(final InputMethodSubtype subtype) {
|
||||
// Note that the calling sequence of onCreate() and onCurrentInputMethodSubtypeChanged()
|
||||
// is not guaranteed. It may even be called at the same time on a different thread.
|
||||
if (subtype.hashCode() == 0xf000000f) {
|
||||
if (subtype.hashCode() == 0x7000000f) {
|
||||
// For some reason sometimes the system wants to set the dummy subtype, which messes with the currently enabled subtype.
|
||||
// Now that the dummy subtype has a fixed id, we can easily avoid enabling it.
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue