Merge branch 'master' into stable
[CP-77] Replace receivedAt and sentAt fields with createdAt
sentAt json field was never updated and was not used.
Cleaned up DB and DB interface from unused date_send.
[EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
[EGD-6736] Add app's state dependent autoLock mechanism
This PR provides the implementation of the auto-locking mechanism that
is dependent on an application's current auto-locking policy. Three
auto-lock policies have been introduced:
* DetermineByWindow
* DetermineByAppState
* PreventPermanently
Also changed the AutoLockWindow set/get auto-lock time value to the
message-based approach.
[BH-356] Move TPLIB (microtar) to separate directory
Move microtar to lib, amend CMAKE files
[EGD-6746] Use new SimCard implementation
Switch to SimCard implementation provided by previous commit
[BH-358] Add Move TPLIB (CRC32) to separate directory
Change directory location and update CMAKE
[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
[EGD-6740] Availability and Change handled by PhoneLockHandler
Availability and Change in phoneLock handled by
PhoneLockHandler. Removed old implementation from
onBoarding and Settings. Cleared language assets.
[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
[EGD-6657] ApplicationDesktop clean-up
This PR cleans-up `ApplicationDesktop` after recent changes in
home screen notifications handling.
[EGD-6676] PhoneLock handling with ServiceDesktop
Replaced old PhoneLock handler in ServiceDesktop with new
interactions with Application Manager PhoneLockHandler.
[EGD-5632] Remove "systemStarted" from "DeveloperMode" EndPoint
Remove `systemStarted` field as it's no longer used.
[EGD-6571] Fix error message
`std::filesystem::remove_all` function returns
number of files and directions removed.
Return value in `cleanupAfterUpdate` from this function
wasn't properly interpreted and returns an error even if shouldn't.
[EGD-6352] Add Factory reset mode
Stop DB service
Delete DB files
Make reboot
[EGD-5834] Fix restore API
Change restore API
backup/restore/update harness tests
[EGD-6283] Fix to slow Application Desktop start
ApplicationDesktop start was slowed down by two synchronous DB calls:
-get unread threads count
-get unread calls count
Both were replaced with asynch versions.
[EGD-4863] Add harness test for cellular sleep mode
Adding test for outgoing call and text message
in cellular sleep mode