D9266: Add MPRIS media control notification

Nicolas Fella noreply at phabricator.kde.org
Thu Feb 22 12:44:39 UTC 2018


nicolasfella requested changes to this revision.
nicolasfella added a comment.
This revision now requires changes to proceed.


  Works pretty good, but I found one issue. To reproduce:
  
  Install Plasma Browser Integration (other players //might// work too)
  Go on Youtube and play a video while MPRISActivity is open
  Go to Youtube start page
  Hit pause
  
  App crashes with:
  
  FATAL EXCEPTION: main
  
    Process: org.kde.kdeconnect_tp, PID: 23125
    android.app.RemoteServiceException: Bad notification posted from package org.kde.kdeconnect_tp: Couldn't inflate contentViewsjava.lang.IllegalArgumentException: setShowActionsInCompactView: action 0 out of bounds (max -1)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6809)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

REPOSITORY
  R225 KDE Connect - Android application

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

To: mtijink, #kde_connect, nicolasfella
Cc: apol, albertvaka, nicolasfella
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180222/683cdf04/attachment.html>


More information about the KDEConnect mailing list