Add missing IntDef annotation

PiperOrigin-RevId: 599414024
This commit is contained in:
tonihei 2024-01-18 00:14:27 -08:00 committed by Copybara-Service
parent 1ec193883c
commit e730feb98a
2 changed files with 2 additions and 2 deletions

View File

@ -763,7 +763,7 @@ package androidx.media3.common {
method @Deprecated public void setDeviceMuted(boolean);
method public void setDeviceMuted(boolean, @androidx.media3.common.C.VolumeFlags int);
method @Deprecated public void setDeviceVolume(@IntRange(from=0) int);
method public void setDeviceVolume(@IntRange(from=0) int, int);
method public void setDeviceVolume(@IntRange(from=0) int, @androidx.media3.common.C.VolumeFlags int);
method public void setMediaItem(androidx.media3.common.MediaItem);
method public void setMediaItem(androidx.media3.common.MediaItem, boolean);
method public void setMediaItem(androidx.media3.common.MediaItem, long);

View File

@ -3462,7 +3462,7 @@ public interface Player {
* @param volume The volume to set.
* @param flags Either 0 or a bitwise combination of one or more {@link C.VolumeFlags}.
*/
void setDeviceVolume(@IntRange(from = 0) int volume, int flags);
void setDeviceVolume(@IntRange(from = 0) int volume, @C.VolumeFlags int flags);
/**
* @deprecated Use {@link #increaseDeviceVolume(int)} instead.