Port away from KDELibs4Support, use Solid::Power interface
ClosedPublic

Authored by bruns on Jun 21 2019, 8:40 PM.

Details

Summary

The Solid::Power implementation does not track the state itself (to
avoid querying the initial state even when it is not used), so track
the state inside PkUpdates and query the initial state from the interface
asynchronously.

Test Plan

The initial state is printed correctly in the debug output, same for
change notifications.

Depends on D21975

Diff Detail

Repository
R623 Plasma PackageKit Updater
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns requested review of this revision.Jun 21 2019, 8:40 PM
bruns created this revision.
jgrulich accepted this revision.Jun 24 2019, 5:38 AM
This revision is now accepted and ready to land.Jun 24 2019, 5:38 AM
This revision was automatically updated to reflect the committed changes.