[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
[EGD-5783] Exclude empty body from response message
Remove body field from response message,
if it contains null. Add 204 and 501 status codes
and use them in proper responses.
204 stands for success but no content, and 501
means endpoint is not implemented.
Additionally some minor fixes.
[EGD-6191] Fix harness call tests
* This PR provides a fix for the bug reported in [EGD-6081].
The solution adds the `tear_down`-like fixture called after the
problematic tests, that enforce focus on `ApplicationDesktop'`s
main window.
* Additionally similar solution was added to `test_auto_lock`
to restore original (30s) lock timeout.
[EGD-6081]: https://appnroll.atlassian.net/browse/EGD-6081
[EGD-6230] Fix reading of cheksum.txt file
Fix errors regarding update.
[EGD-5945] Bluetooth-harness API messages
This PR:
* provides Bluetooth-Harness API messages definition [EGD-5944]
* provides Bluetooth-Harness API messages implementation
* provides Bluetooth-Harness API usage on harness side [EGD-5946]
* provides Bluetooth-Harness tests [EGD-5947]
[EGD-5965] Add BT-Harness API documentation
Added documentation:
* BT endpoint API
* BT-Harness tests
[EGD-5449] Add final prompts windows
Added Dialog windows for "configuration successful"
"no configuration" and "update OS" for Onboarding.
Refactor Dialog window implementation and usage of
DialogMetadata in other applications.
[EGD-6130] Fix update process (stack size, fscopy)
Increase stack size for service-desktop to 8192
Change fs syscall rename() to copy() (rename seems
to fail when moving data across different filesystems)
[EGD-5565] Fix update process on new lf filesystem
These changes are needed for update to work with new
LFS fileystem, also minor bugfixes are included.
[EGD-5512] Usb security refactor and devices pairing
Move all security related functionality to single security endpoint
Paired devices can be added to avoid further passcode requests