Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mdm] Add attribute and signal to express validity. JB#43758
Queries servicesAvailable and technologiesAvailable states to determine whether the current state is valid. For example, validity will be established once the initial services and technology lists have been populated from connman. Combines the following changes: 1. Add missing notification if technologies disconnect. In case the services/technologies disconnect (e.g. the library is disconnected from connman) then this needs to re recorded, so that a signal can be sent once the services/technologies list has been reestablished. 2. Move internal state into private class to retain ABI compatibility. 3. Ensure validity signals are sent after settings stabilise. Update all the values before emitting signals so synchronous signal handlers don't evaluate objects in intermediate states.
- Loading branch information
Showing
2 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters