[Android] Call mediaplayer.setMedia() in background

Geoffrey Métais git at videolan.org
Fri Jan 26 15:16:48 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 25 13:43:41 2018 +0100| [95dc8f8804afca32d3ff9a945f5ede3698ccf52f] | committer: Geoffrey Métais

Call mediaplayer.setMedia() in background

This is a major ANR cause

> https://code.videolan.org/videolan/vlc-android/commit/95dc8f8804afca32d3ff9a945f5ede3698ccf52f
---

 .../src/org/videolan/vlc/media/PlayerController.kt | 20 +++--
 .../src/org/videolan/vlc/media/PlaylistManager.kt  | 99 +++++++++++-----------
 2 files changed, 60 insertions(+), 59 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/95dc8f8804afca32d3ff9a945f5ede3698ccf52f


More information about the Android mailing list