[EGD-8208] Added stop audio route on async response
We get Token on play, and require it in stop. While we cant
stop sound by title & data set to play. And adding standard
handling causes either totally synchronous calls or requires
multiple additional guards it seemed like best use.
Fixed expectation for the same named Response, but meant for bell
Needed so that
- we ring only when needed
- we handle CLIP and RING properly
Applied style
Missed file added
Moved SML logger as it's usefull to some more common parts of code
[CP-1021] Add token field to Device Info API
Generating a device unique id
Returning device token generated from device unique id in DeviceInfo
Added test for device token in test_devic_info.py
[CP-1033] Add Outbox endpoint to service-desktop
Outbox endpoint will be used to provide notifications
about changes in messages/threads/calls during connection
with Mudita Center. This mechanism will ensure an efficient
data synchronization between Mudita Pure and Mudita Center.
[MOS-110] Statistics api for system
Gets data from freertos and prints on frequency change depending
if it's important. Gathering is not costly, printing is though.
For less intrusive checks I would rather disable names gathering
as in worst case scenario it hangs rtos context switching till
thread id is found.
[MOS-104] Fix calllog responsivness with large number of contacts
Determined 3 reasons of lag
1. each calllog app opening is sending db::query::calllog::SetAllRead
which marks all calllog database entries as read and send CRUD
notification to application and hence the list view is rebuilt at least
twice for each app opening.
After deeper investigation it seems like dead feature (at least not
covered in GUI) and I am going to disable it.
2. DBServiceAPI::MatchContactByPhoneNumber requested for empty string
(private number) take really long time (above 1s).
3. DBServiceAPI::MatchContactByPhoneNumber took about time 150-200ms
This patch fixes only issues 1. and 2. Number 3. requires further
investigation and is consider as separate issue.
After mentioned fixes calllog is pretty responsive but requires ~2s
for each app start or page change.
[CP-1048] Database instance mix-up in predefinedQuotesDB backup code
Used proper instance of quotes DB to backup.
[EGD-8227] Refactor quotes db
refactoring of quotes db layout to conform with
given requirements
[EGD-8192] Deinit of hardware owned by Event manager
Hardware de-initialization at the pre-close shutdown stage
to turn off all hardware beforehand.
[EGD-8191] Magnetometer deinitialisation
We stop reading from the magnetometer
during the system shutdown procedure
[CP-988] Fix reporting of storage size
- Fixed size truncation to 32-bit value
- Calculating storage info from all partitions
- Code cleanup
[EGD-3544] Label replacement with OneLine text
Label replacement with OneLine text. Style and usage fixes.
[EGD-8137] Fix system pre closure procedure
Added some services specific implementations of pre closure procedure.
If one request pre closre, all mesagges (except system ones) recieved
by service are ignored.
[EGD-6823] Add quote randomization
Added randomization of the quotes when quote wallpaper is selected
[EGD-8154] Added watchdog thread closure on system exit
Made sure that watchdog thread is properly closed while exiting OS.
[EGD-8152] Added lacking colon asset
As well as mpi assets for call
[EGD-8095] Add quote on wallpaper
Quote from database will be shown on wallpaper
if proper setting is selected.
[EGD-8129] Add atexit functionality
Added atexit functionality. All global destructors and functions
registered with atexit() should be called at program exit.
It was possbile to reuse original newlib implementation with
MALLOC_PROVIDED flag set.
Made sure logger destructructor is called as last one.
Due to mudita OS legacy, it was not possible to simply fix dependencies
in global objectes and hence there are neither global objects
destructors nor functions registered with atexit() called when exit()
is called.
Possibly it will be changed later.
[EGD-8066] Fixed Bell audio assets path
Paths had bell in them, not needed
[EGD-8145] Download asset untaring accepts any relative path
download_asset.py:
either ./ or none - both are proper relative paths
music assets are taken from the assets release
Removed bell mp3 assets from MuditaOS repository
Removed assets for PurePhone from the repository
[EGD-7773] Post review code cleanup
as in status