abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/SettingsActivity.java
AgeCommit message (Collapse)AuthorFilesLines
2022-11-11Avoid crashing in direct-boot modeJules Aguillon1-2/+12
The settings activity can't open in direct-boot mode. The emoji pane opens without the "last used" data.
2022-11-11Direct-boot aware preferencesJules Aguillon1-0/+15
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.
2022-11-05Automatic day night theme in settings activityJules Aguillon1-0/+15
There seems to be no "DayNight" theme compatible with older version of android outside of the androidx library. Using 'Theme.DeviceDefault' which is a dark theme, even if it doesn't sounds like. Detect if a light theme should be used at activity creation.
2021-12-19Auto-format Java and XML filesJules Aguillon1-6/+6
Use xmllint. Re-indent Java files using spaces.
2015-08-08Start SettingsActivityjuloo1-0/+14