With Android O we get the \"Notification Channels\".
As far as I understand that means that the user can\'t set
Might help in your case. If you have one notification displayed you can disable sound when updating this notification by setting .setOnlyAlertOnce(true). This solution works only when updating notification.
.setOnlyAlertOnce(true)