La notificación de controles de medios emite alertas en Android O

Desde que se agregó soporte para Android O, los dispositivos Android que ejecutan O reciben una alerta (tono o vibración) cada vez que se actualiza la notificación de controles multimedia de mi aplicación (metadatos o cambios en el estado de reproducción). Estoy buscando una forma de deshabilitar esta alerta, ya que no es aplicable a las notificaciones de estilo de medios.

Aquí está el código que uso para crear una notificación de controles multimedia:

MediaDescriptionCompat description = metadata.getDescription();
String artistName = metadata.getString(MediaMetadataCompat.METADATA_KEY_ARTIST);
String albumName = metadata.getString(MediaMetadataCompat.METADATA_KEY_ALBUM);
Bitmap largeIcon = BitmapFactory.decodeResource(playbackService.getResources(),
        R.drawable.vector_global_defaultsong);

NotificationCompat.Builder notificationBuilder = new NotificationCompat
        .Builder(playbackService, NotificationHelper.CHANNEL_MEDIA_CONTROLS)
        .setColor(ContextCompat.getColor(playbackService, R.color.colorAccent))
        .setSmallIcon(R.drawable.logo_light_filled)
        .setContentTitle(description.getTitle())
        .setContentText(playbackService.getString(R.string.song_list_subtitle_format,
                artistName, albumName))
        .setContentIntent(createContentIntent())
        .setDeleteIntent(MediaButtonReceiver.buildMediaButtonPendingIntent(playbackService,
                PlaybackStateCompat.ACTION_STOP))
        .setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
        .setOngoing(playbackState.getState() == PlaybackStateCompat.STATE_PLAYING)
        .setLargeIcon(largeIcon);

notificationBuilder.setStyle(new android.support.v4.media.app.NotificationCompat.MediaStyle()
        // show previous, play/pause, and next in compact view
        .setShowActionsInCompactView(addActions(notificationBuilder))
        .setMediaSession(sessionToken));
showNotification(notificationBuilder.build());

. . .

private void showNotification(final Notification notification) {
    if (!started) {
        mediaController.registerCallback(mediaControllerCallback);
        playbackService.startForeground(NOTIFICATION_ID, notification);
        started = true;
    } else {
        notificationManager.notify(NOTIFICATION_ID, notification);
    }

    if (playbackState.getState() == PlaybackStateCompat.STATE_PAUSED) {
        playbackService.stopForeground(false);
    }
}

Aquí está el código que uso para crear el canal de notificación:

public static final String CHANNEL_MEDIA_CONTROLS = "media_controls";

public static void createNotificationChannels(Context context) {
    if (android.os.Build.VERSION.SDK_INT >= 26) {
        NotificationChannel mediaControlsChannel = new NotificationChannel(CHANNEL_MEDIA_CONTROLS,
                context.getString(R.string.notification_channel_media_controls),
                NotificationManager.IMPORTANCE_HIGH);
        mediaControlsChannel.setShowBadge(false);
        getNotificationManager(context).createNotificationChannel(mediaControlsChannel);
    }
}

Actualizar: Configuración deshowBadge afalse en el canal de notificación no parece hacer nada. Todavía recibo una insignia en el icono de la aplicación cuando se muestra la notificación de controles de medios. Por lo tanto, parece que los atributos del canal de notificación que configuré no se están aplicando.

Respuestas a la pregunta(1)

Su respuesta a la pregunta