I want to post my notification with priority hight and no sound or vibration is needed. I don't even call setSound() or setVibrate(), however, I will always get the default sound and vibrate with my notification. Any advice?
notificationBuilder = NotificationCompat.Builder(context, NotificationKeys.CHANNEL_NEW_ORDER_ID)
.setContentIntent(pendingIntent)
.setContentTitle(context.getString(R.string.app_name))
.setCustomContentView(collapseView)
.setStyle(NotificationCompat.DecoratedCustomViewStyle())
.setSmallIcon(R.drawable.ic_app_logo_primary)
.setFullScreenIntent(pendingIntent, true)
.setOnlyAlertOnce(true)
.setOngoing(true)
.setAutoCancel(true)
// I also tried with null but didn't work
.setSound(null)
.setVibrate(null)
NotificationManagerCompat.from(context).notify(myNotificationKey, notificationBuilder.build())