diff options
| author | Jules Aguillon | 2024-05-29 11:56:26 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2024-05-29 11:56:26 +0200 |
| commit | 304375268d520687d41dc7834c442347d638da9c (patch) | |
| tree | 9271983cd081ef4bcc60d4f4956370c26d1287ef /srcs/juloo.keyboard2/Keyboard2.java | |
| parent | 9d89297c15fa855215560890b46d993f732bd35a (diff) | |
| download | unexpected-keyboard-304375268d520687d41dc7834c442347d638da9c.tar.gz unexpected-keyboard-304375268d520687d41dc7834c442347d638da9c.zip | |
Fix uninitialized bottom_row when editing custom layout
This happen when opening the settings from the launcher activity without
ever opening the keyboard.
To remove this bug entirely, the KeyboardData.init method is removed,
the pieces needing initialization are now cached in Config.
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index e25cd34..0b834d7 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -105,7 +105,6 @@ public class Keyboard2 extends InputMethodService public void onCreate() { super.onCreate(); - KeyboardData.init(getResources()); SharedPreferences prefs = DirectBootAwarePreferences.get_shared_preferences(this); _keyeventhandler = new KeyEventHandler(getMainLooper(), this.new Receiver()); Config.initGlobalConfig(prefs, getResources(), _keyeventhandler); |
