Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[dbus] Fix peerinfo tracking on mce startup
Tracked services that are not running when mce starts up are left hanging in undefined state instead of getting declared as stopped. This happens because service is considered stopped when peerinfo makes transition away from running state - which is not possible before the service has been up at least once. Drop stale and deleted peerinfo states as they are not really needed and just add complexity. Handle state transitions resulting from name owner changes explicitly instead of doing them implicitly from within the setter function. Declare service as stopped when peerinfo enters stopped state rather than leaving running state. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information