[Android] Remove TV hack for mediasession
Geoffrey Métais
git at videolan.org
Thu Nov 9 16:59:15 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov 6 11:55:33 2017 +0100| [f14128db45844040ab264977dfc253d9545cf4fa] | committer: Geoffrey Métais
Remove TV hack for mediasession
(cherry picked from commit b450053b585bddf0758b4c6042d9764e1aa74a3e)
> https://code.videolan.org/videolan/vlc-android/commit/f14128db45844040ab264977dfc253d9545cf4fa
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index b371bd6ac..41bb9d49e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -979,11 +979,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
mRateHasChanged = mSavedRate != 1.0f;
mService.setRate(1.0f, false);
- if (AndroidDevices.isAndroidTv) {
- mService.pause();
- mService.saveMediaMeta();
- } else
- mService.stop();
+ mService.stop();
}
private void cleanUI() {
More information about the Android
mailing list