diff options
author | Dana Conrad <dconrad@fastmail.com> | 2021-05-27 18:26:59 -0500 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-06-04 00:00:57 +0000 |
commit | 14f7a958af8c343d96a500c713df34f76fcb9d80 (patch) | |
tree | 7babc9f6ccc172930cf01008eccc1900a4298ddf /apps/menus | |
parent | cec6422ace933fecc02053c0fa6b239f7a6792e5 (diff) |
Softlock Improvements
Add a check to see if the keys are currently locked and allow
them to be unlocked to ensure we don't get stuck when the current
playlist ends while the WPS is locked.
(Original by Aidan MacDonald)
Adding initialization for unlock_combo and to arm the autolock
(if enabled) without the user needing to press the lock button
at least once every boot (which is the prior behavior).
Removing screen_has_lock check from is_keys_locked()
Change-Id: I0fbf9b9746b011a7086ec8505a7ecc4b84f2d332
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/settings_menu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 58c328c677..a5e747651a 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -73,6 +73,7 @@ static int selectivesoftlock_callback(int action, set_selective_softlock_actions( global_settings.bt_selective_softlock_actions, global_settings.bt_selective_softlock_actions_mask); + action_autosoftlock_init(); break; } |