abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Logs.java
AgeCommit message (Collapse)AuthorFilesLines
2023-08-16Migrate layouts preferencesJules Aguillon1-0/+16
The new `layouts` preference replaces three previous preferences: layout second_layout custom_layout Add a preference migration function, which first migration is to migrate layouts into the new preference. The migration must also be called from the SettingsActivity as it might use a different preference store due to the boot-aware preference copy.
2023-08-16ListGroupPreference: Fix change itemsJules Aguillon1-0/+6
[Preference.onClick] is apparently not called on [Item]s, though it is on [AddButton]. Workaround this by listening on click events on the view.
2023-07-29Refactor: Split out ListGroupPreferenceJules Aguillon1-5/+0
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
2023-07-19Refactor: Centralize logging in a static classJules Aguillon1-0/+34
This new class will help write more logs. The LogPrinter is no longer created everytime the keyboard is opened. An error log is added if failing to load the custom extra keys.