disable platform diagnostics for exo player
This commit is contained in:
parent
2004a3f483
commit
bbc819551b
|
@ -82,6 +82,9 @@ class PlayerViewModel(application: Application) : AndroidViewModel(application)
|
|||
internal set
|
||||
|
||||
init {
|
||||
// disable platform diagnostics since they might be shared with google
|
||||
ExoPlayer.Builder(application).setUsePlatformDiagnostics(false)
|
||||
|
||||
initMediaSession()
|
||||
|
||||
player.addListener(object : Player.Listener {
|
||||
|
|
Loading…
Reference in New Issue