Commit c2bbf38e by andrewlewis Committed by Oliver Woodman

Extend Bluetooth dead audio track workaround to Q

PiperOrigin-RevId: 244139959
parent 898bfbff
...@@ -517,7 +517,7 @@ import java.lang.reflect.Method; ...@@ -517,7 +517,7 @@ import java.lang.reflect.Method;
rawPlaybackHeadPosition += passthroughWorkaroundPauseOffset; rawPlaybackHeadPosition += passthroughWorkaroundPauseOffset;
} }
if (Util.SDK_INT <= 28) { if (Util.SDK_INT <= 29) {
if (rawPlaybackHeadPosition == 0 if (rawPlaybackHeadPosition == 0
&& lastRawPlaybackHeadPosition > 0 && lastRawPlaybackHeadPosition > 0
&& state == PLAYSTATE_PLAYING) { && state == PLAYSTATE_PLAYING) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment