Fixes of the issues that would cause device
crash when connected with broken USB cable:
* fixed memory leaks in VCOM init and deinit
functions;
* guarded accessing desktopWorker object in
message handlers, as messages are asynchronous
and might arrive after worker has already been
destroyed. Not the cleanest solution, but
does the trick
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
line number is now before function name
* Added extended logging to Pure's charger driver.
* Removed redundant handling of INOKB pin
interrupt - charger is configured to provide
the same interrupt via INTB pin.
* Minor code cleanup.
Fixed file access via MTP even when phone is not unlocked.
Now access is granted when the phone is unlocked by the user entering
a passcode. If the phone is not passcode protected (passcode is nor set)
then access to the files is always possible via MTP.
Works:
- generating .img for Pure;
- Pure boots after flashing new image and
seems to be working fine;
Not yet:
- generating update package;
- generating image for Harmony;
- simulator;
- path-related unit tests fail
due to paths being hardcoded
in test scenarios.
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.
This mechanism is similar to the current backup implementation,
but is stripped of irrelevant data that is not required by the
MC to perform data synchronization.
* New user directory implemented.
* Generate user directory structure at compile
time instead of at runtime(Pure/Harmony).
* Changed MTP root path to /storage
* FileIndexer: Minor refactor
* FileIndexer: Fixed handling incorrect/non-existing
scan directories.
* Updated Repository module to correctly handle
many assets paths.
* MultimediaDB: Minor unit tests refactor and fixed
some issues when using simulator.
* MultimediaDB: Added new queries and unit tests
* Harmony/Relaxation: Updated to correctly
use audio assets from more than one source.
* Harmony/Relaxation: Updated model and list items
provider.
* Harmony/Relaxation: Fixed stack overflow in audio service
Fix the issue when the USB cable connected to the device during boot up
and Center requested a passcode before the device was fully up.
What caused a 'Wrong passcode' message after typing a passcode
via Center.
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.
When contact record is created/updated/removed during
connection with Mudita Center, notification of that
action should be collected in outbox endpoint to
keep contacts data synchronized between MuditaOS
and Mudita Center.
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.
Added some services specific implementations of pre closure procedure.
If one request pre closre, all mesagges (except system ones) recieved
by service are ignored.
[CP-648] Handle updated API requests
Updated B&R to handle new API
Extended error reporting
Backup/Restore code clean up
[CP-649] Check OS version compatibility during restore
Added check of OS and backup versions
Fixed adding of version.json to PurePhone.img
Improve structure of the module sys. Problems within this module
prevents from linking others.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>