D11648: Only make one request for list of MPRIS players during plugin creation

Philip Cohn-Cort noreply at phabricator.kde.org
Sat Mar 24 16:14:22 UTC 2018


philipc created this revision.
philipc added a reviewer: KDE Connect.
philipc requested review of this revision.

REVISION SUMMARY
  MPrisPlugin previously made two calls to `requestPlayerList()` in its
  `onCreate()` method. This change deletes the first of those, so that
  only one network packet is sent and received.

TEST PLAN
  Pair a new device, confirm that only one request for media players is
  received by remote client.

REPOSITORY
  R225 KDE Connect - Android application

BRANCH
  feature/mpris-request-fix

REVISION DETAIL
  https://phabricator.kde.org/D11648

AFFECTED FILES
  src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java

To: philipc, #kde_connect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180324/e2364c70/attachment.html>


More information about the KDEConnect mailing list