Skip to content
Permalink
Browse files

Do not play notification sound when creating media session on Android

  • Loading branch information
ferjm committed Nov 13, 2019
1 parent 7b5b46f commit caedc28118d6c6b4e8affa77818dac80b0a244a2
@@ -75,7 +75,7 @@ private void createMediaNotificationChannel() {
mContext.getResources().getString(R.string.media_channel_name);
String description =
mContext.getResources().getString(R.string.media_channel_description);
int importance = NotificationManager.IMPORTANCE_DEFAULT;
int importance = NotificationManager.IMPORTANCE_LOW;
NotificationChannel channel =
new NotificationChannel(MEDIA_CHANNEL_ID, name, importance);
channel.setDescription(description);

0 comments on commit caedc28

Please sign in to comment.
You can’t perform that action at this time.