0
前に音を持っていなかった私の通知に音を追加しました:NotificationChannelは私のコードにこれを追加した後
mBuilder.setPriority(NotificationCompat.PRIORITY_LOW)
int importance = NotificationManager.IMPORTANCE_LOW;
notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, channelName, importance);
notificationChannel.enableLights(false);
notificationChannel.enableVibration(false);
notificationManager.createNotificationChannel(notificationChannel);
mBuilder.setChannelId(NOTIFICATION_CHANNEL_ID);
を以前に今の音を持っていなかった私の通知は音を持っています。私の通知ビルダーでは、優先度を低くしました。これは、それが音を出す可能性があることを読み取ったため、他に何をすべきか分かりません。
アイデア?
ありがとうございました。