[Android] Restore volume level after playback

Geoffrey Métais git at videolan.org
Thu Sep 3 11:54:49 CEST 2015


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

Restore volume level after playback

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

 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