Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3617795e authored by andysu's avatar andysu Committed by Wei Jia
Browse files

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: default avatarandysu <andysu@android.com>
parent 6f451291
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment