Commit Graph

11 Commits

Author SHA1 Message Date
Lefucjusz
181feb4f40 cleanup 2024-08-20 15:40:34 +02:00
Lefucjusz
df6d7848f5 [BH-2056] Add bedside lamp settings
Added possibility to customize
brightness and activity time
of bedside lamp functionality.
2024-08-19 15:58:30 +02:00
Lefucjusz
ddf4a6f573 [MOS-905] Fix crash on power off with USB cable connected
Fix of the issue that turning off the phone and
clicking any keyboard button resulted in
crash and reboot.
2023-02-17 11:29:37 +01:00
Paweł Joński
8306591997 [BH-1030] Frontlight ramp
Frontlight ramp
2021-11-19 14:10:44 +01:00
Piotr Tański
39718a08ea [BH-903] Pre-wake up frontlight
Implemented a frontlight handling for the pre-wake up.
Major clean-up of the frontlight implementation.
2021-10-13 19:28:53 +02:00
Lukasz Skrzypczak
ef46a48718 [BH-753] Working frontlight ON OFF
Working
2021-09-29 14:26:40 +02:00
Mateusz Grzegorzek
ed68fc92ec [BH-754] Split ServiceDB
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
2021-08-20 10:47:29 +02:00
Michał Kamoń
4a87df1bcb [EGD-6917] Screen light in automode does not turnoff itself
The bug was introduced by EGD-6794. The bug is caused by wrong mode
selection in `ScreenLightTimer`'s definition. The current design
defines auto-turn-off only for automatic mode (EGD-6655).
2021-06-11 11:24:42 +02:00
Michał Kamoń
ce0cb23abd [EGD-6794] Fix display light settings
This commit provides the flowing fixes in display light functionality:
 - Settings-path bug causing lack of display light settings on "fresh"
 image. Solved with proper paths definition
 - Invalid settings after phone restart. Solved with proper handling
 of enums and booleans on the Event manager side.
 - No turning off light just after turning on light functionality with
 manual brightness setting in ApplicationSettings bug (required
 another key press to start timer that turns off the light after 5s).
 Solved by starting timer explicitly on Action::turnOn
 - No turning off light just after turning on the phone bug (required
 --as above --). Solved by starting timer explicitly on `Settings
 ValueChange` callback with Action::turnOn.
 - No autoMode until user entered `AppSettings::DisplayLight` Window.
 Bug caused by curve parameters being provided by the window rather
 than on the functionality back-end initialization.

 Commit also provides some code cleanup
2021-05-31 10:43:26 +02:00
Adam Dobrowolski
b38adceced [EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
2021-05-18 13:25:54 +02:00
Jakub Pyszczak
b823992837 [EGD-6655] Screen light when active
Added enabling screen light if there was any key pressed
and screen light controler is in the automatic mode.
Added screen light disabling after 5 seconds of timeout
without any key being pressed.
2021-05-14 11:42:43 +02:00