[CP-1424] Refactor backup and restore endpoints
Redesign of backup and restore endpoints in the
service-desktop to delegate responsibility for
execution of the actual backup and restore process
onto the Updater.
[CP-1665] Adding an information about device colour to USB descriptor
Getting information about device colour and changing it to number.
Pass information about device colour to usb_stack.
Set a bcdDevice with the corresponding value.
[MOS-820] Fix crashes caused by plugging the charger
The deleting of the USBLinuxReceive task has been added
in the USB stack de-initialization process to avoid creating
multiple instances during next initializations.
[MOS-775] Create run-time statistics for tasks
Every hour, statistics of tasks that put a heavy load
on the CPU will be logged
[MOS-724] CodeQL setup
added CodeQL setup, small fixes to CI
[MOS-550] Improve refresh of the display
1. Implement partial refresh.
2. Implement refresh canceling mechanism.
3. Refactor some parts of the gui and display code.
ad 1.
- 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.
ad 2.
- Separate display update and refresh logic.
- Divide image display message handling into two handlers, one updating
and other one refreshing the screen.
- Add cancel refresh message and use it to cancel refresh during update.
- Store sum of refresh regions gathered during updates to refresh them
all at once at the end.
[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.