[Android] Do not remove keepScreenOn flag on resume dialog prompt

Geoffrey Métais git at videolan.org
Tue Dec 29 20:39:48 CET 2015


vlc-android | branch: 1.7.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Dec 29 17:52:04 2015 +0100| [cdb879d46b724ad8786218da3a2c5e5a148f70d9] | committer: Geoffrey Métais

Do not remove keepScreenOn flag on resume dialog prompt

(cherry picked from commit 87165c9df932cb0c4d52fd59783a2d11416e7cae)
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>

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

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

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 b2e551e..4a786a1 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2913,7 +2913,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
     public void showConfirmResumeDialog() {
         if (isFinishing())
             return;
-        pause();
+        mService.pause();
         /* Encountered Error, exit player with a message */
         mAlertDialog = new AlertDialog.Builder(VideoPlayerActivity.this)
                 .setMessage(R.string.confirm_resume)



More information about the Android mailing list