forked from extern/Unexpected-Keyboard
Avoid crash when removing a layout
Might happen when downgrading the app.
This commit is contained in:
parent
1cfecbdf48
commit
d721cc86d1
@ -102,8 +102,7 @@ class Config
|
||||
{
|
||||
case "azerty": return R.xml.azerty;
|
||||
case "qwerty": return R.xml.qwerty;
|
||||
case "system": return -1;
|
||||
default: throw new IllegalArgumentException();
|
||||
case "system": default: return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user