D10798: Add album art to media notification and lock screen

Matthijs Tijink noreply at phabricator.kde.org
Sat Feb 24 16:55:27 UTC 2018


mtijink added a comment.


  In D10798#212758 <https://phabricator.kde.org/D10798#212758>, @nicolasfella wrote:
  
  > Crashes on my Oreo phone as soon as it tries to display the notification
  >
  > E/AndroidRuntime: FATAL EXCEPTION: main
  >
  >   Process: org.kde.kdeconnect_tp, PID: 16709
  >   android.app.RemoteServiceException: Bad notification posted from package org.kde.kdeconnect_tp: Couldn't inflate contentViewsjava.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.Bitmap.setHasAlpha(boolean)' on a null object reference
  >       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)
  
  
  Weird, I do check on `null`, as you can see in the code. It might be related to using outdated appcompat libraries, but I'm not sure. Maybe we can look into this during the sprint, if it's not resolved beforehand.

REPOSITORY
  R225 KDE Connect - Android application

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

To: mtijink, #kde_connect, nicolasfella
Cc: nicolasfella
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180224/9ece1fbd/attachment.html>


More information about the KDEConnect mailing list