Return state masked Player values from SessionPlayerConnector
Before this CL, SessionPlayerConnector getters had returned UNKNOWN_TIME in idle state. It was because SessionPlayerConnector had followed AndroidX media2 MediaPlayer's behavior, which was the baseline code of the SessionPlayerConnector. With this CL, SessionPlayerConnector getters directly return underlying Player's value, rather than considering calls in IDLE state as an exception and fallbacks to the default UNKNOWN_TIME. PiperOrigin-RevId: 327420940
Showing
with
8 additions
and
18 deletions
Please
register
or
sign in
to comment