[Android] Revert "Check mediaplayer is set from main thread"
Geoffrey Métais
git at videolan.org
Fri Nov 24 15:14:53 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Nov 24 15:14:30 2017 +0100| [08c7facdcfe45ccc3462bc48fcd78fd30a48aeb0] | committer: Geoffrey Métais
Revert "Check mediaplayer is set from main thread"
This reverts commit e19847d1ad643314876b716b3c5d49060ba3a03c.
> https://code.videolan.org/videolan/vlc-android/commit/08c7facdcfe45ccc3462bc48fcd78fd30a48aeb0
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 011fe0471..5cdc5e1d7 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -83,7 +83,6 @@ import org.videolan.vlc.gui.AudioPlayerContainerActivity;
import org.videolan.vlc.gui.helpers.AudioUtil;
import org.videolan.vlc.gui.helpers.BitmapUtil;
import org.videolan.vlc.gui.helpers.NotificationHelper;
-import org.videolan.vlc.gui.helpers.UiTools;
import org.videolan.vlc.gui.preferences.PreferencesActivity;
import org.videolan.vlc.gui.preferences.PreferencesFragment;
import org.videolan.vlc.gui.video.PopupManager;
@@ -235,7 +234,6 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
}
private MediaPlayer newMediaPlayer() {
- UiTools.checkMainThread();
final MediaPlayer mp = new MediaPlayer(LibVLC());
final String aout = VLCOptions.getAout(mSettings);
if (aout != null)
More information about the Android
mailing list