mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +08:00

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