<table><tr><td style="">nicolasfella requested changes to this revision.<br />nicolasfella added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9266" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Works pretty good, but I found one issue. To reproduce:</p>
<p>Install Plasma Browser Integration (other players <em>might</em> work too)<br />
Go on Youtube and play a video while MPRISActivity is open<br />
Go to Youtube start page<br />
Hit pause</p>
<p>App crashes with:</p>
<p>FATAL EXCEPTION: main</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">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)</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R225 KDE Connect - Android application</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9266" rel="noreferrer">https://phabricator.kde.org/D9266</a></div></div><br /><div><strong>To: </strong>mtijink, KDE Connect, nicolasfella<br /><strong>Cc: </strong>apol, albertvaka, nicolasfella<br /></div>