mirror of
https://github.com/samsonjs/media.git
synced 2026-04-24 14:37:45 +00:00
Fix lint warning that breaks gradle build
Calling AudioManager.isOffloadedPlaybackSupported is available since API 29 only. PiperOrigin-RevId: 398229498
This commit is contained in:
parent
a63155975a
commit
1372300073
1 changed files with 1 additions and 0 deletions
|
|
@ -1634,6 +1634,7 @@ public final class DefaultAudioSink implements AudioSink {
|
|||
}
|
||||
}
|
||||
|
||||
@RequiresApi(29)
|
||||
@C.AudioManagerOffloadMode
|
||||
private int getOffloadedPlaybackSupport(
|
||||
AudioFormat audioFormat, android.media.AudioAttributes audioAttributes) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue