https://developer.android.com/training/notify-user/build-notification#javaによると、通知を正しく作成しています。
私は次のように期待しています:
私のコードは次のとおりです。
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(context, "channel")
.setSmallIcon(R.drawable.wesay_not)
.setContentTitle(notification.title)
.setContentText(notification.description)
.setAutoCancel(true)
.setSound(defaultSoundUri)
.setContentIntent(pendingIntent)
.setChannelId(context.getString(R.string.channel_id));
そして、ドローアブルがあります:
ただし、デバイスにはデフォルトの Android が表示されていますが、他のアプリケーションではアイコンが正常に表示されているようです。