mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Don't pass deviceVolume as volume in MediaControllerImplLegacy
deviceVolume (int) and volume (float) are not the same. Elsewhere MediaControllerImplLegacy doesn't support volume and defaults to 1 (setVolume, getVolume), so defaulting to 1 here seems correct. PiperOrigin-RevId: 406780391
This commit is contained in:
parent
bf18aae99d
commit
729b2b64f3
1 changed files with 1 additions and 1 deletions
|
|
@ -2022,7 +2022,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
|
|||
/* videoSize= */ VideoSize.UNKNOWN,
|
||||
/* timeline= */ currentTimeline,
|
||||
/* playlistMetadata= */ playlistMetadata,
|
||||
/* volume= */ deviceVolume,
|
||||
/* volume= */ 1.0f,
|
||||
/* audioAttributes= */ audioAttributes,
|
||||
/* cues= */ Collections.emptyList(),
|
||||
/* deviceInfo= */ deviceInfo,
|
||||
|
|
|
|||
Loading…
Reference in a new issue