forked from extern/Unexpected-Keyboard
Fix a crash on API < 12
'extra_keys_subtype' can be none on API level < 12 when the "accents" option is tweaked.
This commit is contained in:
parent
c182f3d829
commit
c61b31168c
@ -177,7 +177,8 @@ final class Config
|
||||
// Extra keys are removed from the set as they are encountered during the
|
||||
// first iteration then automatically added.
|
||||
final Set<KeyValue> extra_keys = new HashSet<KeyValue>();
|
||||
extra_keys.addAll(extra_keys_subtype);
|
||||
if (extra_keys_subtype != null)
|
||||
extra_keys.addAll(extra_keys_subtype);
|
||||
extra_keys.addAll(extra_keys_param);
|
||||
if (kw.num_pad && show_numpad)
|
||||
kw = kw.addNumPad();
|
||||
|
Loading…
Reference in New Issue
Block a user