[Android] Hide delay settings on BACK pressed
Geoffrey Métais
git at videolan.org
Thu Jul 9 18:14:21 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul 9 17:56:30 2015 +0200| [ecf5922e061b1b5650bcaf7f69e49d8287f4f5b7] | committer: Geoffrey Métais
Hide delay settings on BACK pressed
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ecf5922e061b1b5650bcaf7f69e49d8287f4f5b7
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 ++
1 file changed, 2 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 373e22c..40d34d0 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -921,6 +921,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
mLockBackButton = false;
mHandler.sendEmptyMessageDelayed(RESET_BACK_LOCK, 2000);
Toast.makeText(this, getString(R.string.back_quit_lock), Toast.LENGTH_SHORT).show();
+ } else if (mDelay != DelayState.OFF){
+ endDelaySetting();
} else if (BuildConfig.tv && mShowing && !mIsLocked) {
hideOverlay(true);
} else
More information about the Android
mailing list