mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00

cache() opens all connections with unset length to avoid position errors. This makes more data then needed to be downloading by the underlying network stack. This fix makes makes it open connections for only required length. Issue:#5927 PiperOrigin-RevId: 250546175