Я не указываю звук (ресурс), я хочу использовать звук по умолчанию
Он отлично работает на Android 8 и 9
Но на Android 4-7 он вызывает уведомлениебез звука
Как я могу сделать то же самое поведение на всех Android?
Конструктор уведомлений:
NotificationCompat.Builder(this, channelId)
.setSmallIcon(R.drawable.notify_icon
.setContentTitle(title)
.setContentText(subtitle)
.setPriority(if (Prefs.isNotificationSound) NotificationCompat.PRIORITY_DEFAULT else NotificationCompat.PRIORITY_LOW)
.setCategory(NotificationCompat.CATEGORY_PROMO)
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
.setAutoCancel(true)