We are trying to set secondary toolbar view in chrome custom tabs. We are setting a dynamic image in remote view using the below method. We are getting exception.
`remoteViews.setImageViewBitmap` and it is throwing following exception. We get the same error when we try Remoteviews.setImageViewResource() or setImageViewUri(). Any help is appreciated. FATAL EXCEPTION: main Process: android.widget.RemoteViews$ActionException: view: android.support.v7.widget.AppCompatImageView can't use method with RemoteViews: setImageBitmap(class android.graphics.Bitmap) at android.widget.RemoteViews.getMethod(RemoteViews.java:855) at android.widget.RemoteViews.-wrap5(RemoteViews.java) at android.widget.RemoteViews$ReflectionAction.apply(RemoteViews.java:1410) at android.widget.RemoteViews$BitmapReflectionAction.apply(RemoteViews.java:1152) at android.widget.RemoteViews.performApply(RemoteViews.java:3428) at android.widget.RemoteViews.apply(RemoteViews.java:3165) at android.widget.RemoteViews.apply(RemoteViews.java:3155) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/04bbcd35-a33a-48fa-a9d6-e38dc16d0a9e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.