[Android] [PATCH 3/3] VideoPlayerActivity: don't hide overlay on gesture
Thomas Guillem
thomas at gllm.fr
Thu Nov 6 10:01:07 CET 2014
---
.../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 7 +------
1 file changed, 1 insertion(+), 6 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 c08a95e..c63ad2d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1411,16 +1411,11 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
if (mEnableBrightnessGesture && (int)mTouchX < (screen.widthPixels / 2)){
doBrightnessTouch(y_changed);
}
- // Extend the overlay for a little while, so that it doesn't
- // disappear on the user if more adjustment is needed. This
- // is because on devices with soft navigation (e.g. Galaxy
- // Nexus), gestures can't be made without activating the UI.
- if(AndroidDevices.hasNavBar())
- showOverlay();
} else {
// Seek (Right or Left move)
doSeekTouch(coef, xgesturesize, false);
}
+ showOverlay();
break;
case MotionEvent.ACTION_UP:
--
2.1.1
More information about the Android
mailing list