NuPlayerRenderer: cancelAudioOffloadPauseTimeout() when onDisableOffloadAudio().
This fix is for an offload track if paused and invalidated.
when an offload track is paused, it would startAudioOffloadPauseTimeout().
But if the offload track is invalidated and fall back to non offload mode,
the timeout would not stop, and will tear down the track after timeout.
Test: self-tested more then 50 times when fall back to non offload happens.
Bug: 77182500
Test: bug is fixed.
Change-Id: I424fc96e6a5811afacd362409b472c2493c4bb71
Signed-off-by: andysu <andysu@android.com>
Loading
Please register or sign in to comment