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

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


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

Do not remove keepScreenOn flag on resume dialog prompt

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 3 +--
 1 file changed, 1 insertion(+), 2 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 7730efb..0fb50bf 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2947,7 +2947,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         if (itemTitle != null)
             title = itemTitle;
         mTitle.setText(title);
-
     }
 
     @SuppressWarnings("deprecation")
@@ -3025,7 +3024,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