[Android] Restore volume level after playback

Geoffrey Métais git at videolan.org
Thu Sep 3 17:45:38 CEST 2015


vlc-ports/android | branch: data-binding | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Sep  3 11:54:05 2015 +0200| [1d7b333ed14f6af20d5f5acdc0e6ee010d79d606] | committer: Geoffrey Métais

Restore volume level after playback

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=1d7b333ed14f6af20d5f5acdc0e6ee010d79d606
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    3 +++
 1 file changed, 3 insertions(+)

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 ca4e163..9eaa36b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -722,6 +722,9 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         if (!mPlaybackStarted)
             return;
 
+        if (mMute)
+            mute(false);
+
         LibVLC().setOnHardwareAccelerationError(null);
 
         mPlaybackStarted = false;



More information about the Android mailing list