Simplify MPRIS callback code
ClosedPublic

Authored by mtijink on Dec 1 2017, 11:18 AM.

Details

Summary

Makes sure the MPRIS data is always up-to-date, so requesting updates
separately is never necessary. Also provides a way to remove callbacks.

Test Plan

All information still appears in the MPRIS activity and the controls still work.

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mtijink requested review of this revision.Dec 1 2017, 11:18 AM
mtijink created this revision.
albertvaka accepted this revision.Dec 7 2017, 4:51 PM
This revision is now accepted and ready to land.Dec 7 2017, 4:51 PM
This revision was automatically updated to reflect the committed changes.