Extend Bluetooth dead audio track workaround to Q

PiperOrigin-RevId: 244139959
This commit is contained in:
andrewlewis 2019-04-18 08:35:07 +01:00 committed by Andrew Lewis
parent 4c967895e9
commit a985ca93c5

View file

@ -517,7 +517,7 @@ import java.lang.reflect.Method;
rawPlaybackHeadPosition += passthroughWorkaroundPauseOffset;
}
if (Util.SDK_INT <= 28) {
if (Util.SDK_INT <= 29) {
if (rawPlaybackHeadPosition == 0
&& lastRawPlaybackHeadPosition > 0
&& state == PLAYSTATE_PLAYING) {