abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/DirectBootAwarePreferences.java
AgeCommit message (Collapse)AuthorFilesLines
2025-12-22Fix various linting issues (#1146)Jules Aguillon1-2/+0
2024-02-10Fix various linter warningsJules Aguillon1-2/+2
Among others: - Use `apply` instead of `commit` when saving shared preferences. - Avoid inlined Api - Remove unused resources
2024-02-10Fix compatibility with Android 3.0Jules Aguillon1-0/+2
Incompatible APIs were used in the custom layouts and the extra keys options. Add @TargetApi annotations to help catch similar issues in the future with the help of 'gradle lint'.
2022-11-11Direct-boot aware preferencesJules Aguillon1-0/+86
Store preferences in device protected storage, which is available before the device is unlocked. The keyboard was crashing when trying to access the encrypted preferences. The emoji pane uses a separate preferences file, the old data is lost. The SettingsActivity can't easily use the new preferences storage. Instead, it continues to use the "default" preferences store, which is copied back to the protected storage when needed.