[MOS-550] Implement eink partial refresh
Detect parts of the screen changed since last update and merge them into
bigger regions. These regions defines parts of the context sent to the
display.
Refresh the region covering all of the parts since this is the most time
consuming part and the size of the refreshed region doesn't change the
time much.
Refresh the whole screen if deep refresh is requested and previously
fast refresh was used. This is needed to prevent unwanted artifacts in
some cases.
Refactor some parts of the gui and display code.
[MOS-686] Fix the accessibility of user files by MTP
User files accessible via MTP only if phone is unlocked
[MOS-424] Improvement of logger module
Due to losing bytes the logger has a worker
which is responsible for dumping logs to
the file. The logger also has its own timer
to dump logs every 15 minutes. EventManager
is not responsible for interval dumping logs
now.
[CP-1560] MTP root path
Make MTP root path configurable.
[MOS-692] Update slider after tethering is off
When tethering is on we can change the slider position,
however we can't change the slider mode. If we change
the slider position after tethering is off we need to update
the slider mode. Fix typo in Y register.
[MOS-91] Fix cellular DMA errors
Fix "DMA is busy" errors when booting the GSM modem at the stage of
finding the appropriate baudrate.
[MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
[MOS-608] Fix crash on phone turn off
Fix of the crash that sometimes happened
during system closing.
[MOS-349] Improvement of slider reaction
Readings from magnetometer are noisy. In some cases, the noise can
change slider mode. So we did a few measurements to calculate
the level of noise and then checking the slider position.
[MOS-648] Fix USB connection/disconnection detection
If there were errors while charging the battery,
e.g. too high temperature, the detection of USB
connection/disconnection failed.
[BH-1552] Harmony crashes during startup
Fixed crashing device.
Bell temperature sensor refactor.
[BH-1552] Minor power optimization
Switched off temperature sensor and
its driver.
Minor GPIO pads configuration tweaks.
[MOS-613] Fix keyboard doesn't respond
Now the keyboard driver is checking the result of i2c
transmission and we get an error code if something fail.
[MOS-499] Improve lock screen power consumption
Power on the e-ink only when it is needed e.g. fast or deep
refresh. Update battery percentage only when discharging.
[MOS-589] Fix torch driver
Perform turn-off torch in only one place.
Before writing or reading i2c make sure the torch is power supplied.
Change old C-style cast to reinterpret_cast.
[MOS-510] Fix wrong battery SoC reading
add nullopt in case when we don't get valid value
add the checksum of the configuration file
add file size validation
add file write validation
add SoC discrepancy check
add battery registers config store
[BH-1536] Remove unneeded compilation flags
Removed -Wno-unused-variable from
module-bsp.
Fixed issues that were reported after
removing it.
Removed unneeded compile flags from
rt1051 cmake file.
[MOS-559] Fix phone unlock after mode change
Correction of the previous fix addressing this issue.
Previous idea didn't work when popup tried to
display in application other than ApplicationDesktop