Remove setUsePlatformDiagnostics being called twice

This commit is contained in:
Kavin 2024-04-26 20:27:00 +01:00
parent faecb1dceb
commit ef70344375
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F

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)