Couldn't expand RemoteViews for: StatusBarNotification

Shortly put, the

com.makeramen.RoundedImageView

is messing with your job.

Not all views can be used in RemoteViews which are used for building custom notifications. According to this official page only the following can be used for creating RemoteViews:

  • FrameLayout
  • LinearLayout
  • RelativeLayout
  • GridLayout
  • AnalogClock
  • Button
  • Chronometer
  • ImageButton
  • ImageView
  • ProgressBar
  • TextView
  • ViewFlipper
  • ListView
  • GridView
  • StackView
  • AdapterViewFlipper

So you must find a workaround for your modified ImageView class and use plain ImageView instead.