Skip to content

Commit e4b23f6

Browse files
Merge pull request #2377 from bubenheimer:handleSetDeviceVolume_flags
PiperOrigin-RevId: 753132783
2 parents 49d929b + 0d2b831 commit e4b23f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/common/src/main/java/androidx/media3/common/SimpleBasePlayer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3302,7 +3302,7 @@ protected ListenableFuture<?> handleSetVolume(@FloatRange(from = 0, to = 1.0) fl
33023302
*/
33033303
@ForOverride
33043304
protected ListenableFuture<?> handleSetDeviceVolume(
3305-
@IntRange(from = 0) int deviceVolume, int flags) {
3305+
@IntRange(from = 0) int deviceVolume, @C.VolumeFlags int flags) {
33063306
throw new IllegalStateException(
33073307
"Missing implementation to handle COMMAND_SET_DEVICE_VOLUME or"
33083308
+ " COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS");

0 commit comments

Comments
 (0)