[Media Controller] Support CanPlay/CanPause

Authored by broulik on Apr 25 2017, 3:36 PM.



This way we disable the play/pause button and context menu entry if player claims it cannot.

Test Plan

Cleared my playlist, Play button was disabled. Otherwise works as normal.

Diff Detail

R120 Plasma Workspace
Lint Skipped
Unit Tests Skipped
broulik created this revision.Apr 25 2017, 3:36 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 25 2017, 3:36 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
markg accepted this revision.Apr 25 2017, 8:27 PM
markg added a subscriber: markg.

Looks good to me. Nice :)

This revision is now accepted and ready to land.Apr 25 2017, 8:27 PM
This revision was automatically updated to reflect the committed changes.