From 6950f3aaa8bf229c0441b3d10cae75bef3ee30f5 Mon Sep 17 00:00:00 2001 From: rohks Date: Wed, 17 Aug 2022 18:54:01 +0000 Subject: [PATCH] Fix missing commas in documentation of DefaultMediaNotificationProvider PiperOrigin-RevId: 468257769 --- .../session/DefaultMediaNotificationProvider.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/session/src/main/java/androidx/media3/session/DefaultMediaNotificationProvider.java b/libraries/session/src/main/java/androidx/media3/session/DefaultMediaNotificationProvider.java index e6a90fde8b..13941f45c7 100644 --- a/libraries/session/src/main/java/androidx/media3/session/DefaultMediaNotificationProvider.java +++ b/libraries/session/src/main/java/androidx/media3/session/DefaultMediaNotificationProvider.java @@ -140,7 +140,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi /** * Sets the {@link MediaNotification#notificationId} used for the created notifications. By - * default this is set to {@link #DEFAULT_NOTIFICATION_ID}. + * default, this is set to {@link #DEFAULT_NOTIFICATION_ID}. * * @param notificationId The notification ID. * @return This builder. @@ -153,7 +153,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi /** * Sets the ID of the {@link NotificationChannel} on which created notifications are posted on. - * By default this is set to {@link #DEFAULT_CHANNEL_ID}. + * By default, this is set to {@link #DEFAULT_CHANNEL_ID}. * * @param channelId The channel ID. * @return This builder. @@ -166,7 +166,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi /** * Sets the name of the {@link NotificationChannel} on which created notifications are posted - * on. By default this is set to {@link #DEFAULT_CHANNEL_NAME_RESOURCE_ID}. + * on. By default, this is set to {@link #DEFAULT_CHANNEL_NAME_RESOURCE_ID}. * * @param channelNameResourceId The string resource ID with the channel name. * @return This builder. @@ -360,7 +360,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi *

Override this method to customize the buttons on the notification. Commands of the buttons * returned by this method must be contained in {@link MediaController#getAvailableCommands()}. * - *

By default the notification shows {@link Player#COMMAND_PLAY_PAUSE} in {@linkplain + *

By default, the notification shows {@link Player#COMMAND_PLAY_PAUSE} in {@linkplain * Notification.MediaStyle#setShowActionsInCompactView(int...) compact view}. This can be * customized by defining the index of the command in compact view of up to 3 commands in their * extras with key {@link DefaultMediaNotificationProvider#COMMAND_KEY_COMPACT_VIEW_INDEX}. @@ -446,7 +446,7 @@ public class DefaultMediaNotificationProvider implements MediaNotification.Provi * and define which actions are shown in compact view by returning the indices of the buttons to * be shown in compact view. * - *

By default {@link Player#COMMAND_PLAY_PAUSE} is shown in compact view, unless some of the + *

By default, {@link Player#COMMAND_PLAY_PAUSE} is shown in compact view, unless some of the * buttons are marked with {@link DefaultMediaNotificationProvider#COMMAND_KEY_COMPACT_VIEW_INDEX} * to declare the index in compact view of the given command button in the button extras. *