Merge pull request #5937 from FireMasterK/remove-dup-player-parameters

fix: remove setUsePlatformDiagnostics being called twice
This commit is contained in:
Kavin 2024-04-26 23:19:05 +01:00 committed by GitHub
commit 649dfbcac2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -520,7 +520,6 @@ object PlayerHelper {
.setHandleAudioBecomingNoisy(true) .setHandleAudioBecomingNoisy(true)
.setLoadControl(getLoadControl()) .setLoadControl(getLoadControl())
.setAudioAttributes(audioAttributes, handleAudioFocus) .setAudioAttributes(audioAttributes, handleAudioFocus)
.setUsePlatformDiagnostics(false)
.build() .build()
.apply { .apply {
loadPlaybackParams(isBackgroundMode) loadPlaybackParams(isBackgroundMode)