abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/DeviceLocales.java
AgeCommit message (Collapse)AuthorFilesLines
2026-01-18Refactor: Split DeviceLocales out of Keyboard2 (#1154)Jules Aguillon1-0/+83
* Refactor: Split DeviceLocales out of Keyboard2 This moves the code from Keyboard2 that handles the active IME subtypes and the current one. The goal is to access this information from the dictionary activity while simplifying the code of Keyboard2. * Refresh the candidates view when subtype changes This fixes the status message being inconsistently shown. * Refactor: Load DeviceLocales less often Previously, [DeviceLocales.load()] was called everytime the keyboard was shown on the screen. This operation is moderately costly and only need to be done when the IME subtype changes. * EditorConfig: Fix crash on Android 9