<div dir="ltr">LGTM</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 10:01 AM, Thomas Guillem <span dir="ltr"><<a href="mailto:thomas@gllm.fr" target="_blank">thomas@gllm.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 6 +++---<br>
1 file changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java<br>
index eeeccb2..1d072c5 100644<br>
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java<br>
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java<br>
@@ -155,7 +155,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {<br>
private View mOverlayProgress;<br>
private View mOverlayBackground;<br>
private static final int OVERLAY_TIMEOUT = 4000;<br>
- private static final int OVERLAY_INFINITE = 3600000;<br>
+ private static final int OVERLAY_INFINITE = -1;<br>
private static final int FADE_OUT = 1;<br>
private static final int SHOW_PROGRESS = 2;<br>
private static final int SURFACE_SIZE = 3;<br>
@@ -1905,10 +1905,10 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {<br>
mOverlayProgress.setVisibility(View.VISIBLE);<br>
if (mPresentation != null) mOverlayBackground.setVisibility(View.VISIBLE);<br>
}<br>
- Message msg = mHandler.obtainMessage(FADE_OUT);<br>
if (timeout != 0) {<br>
mHandler.removeMessages(FADE_OUT);<br>
- mHandler.sendMessageDelayed(msg, timeout);<br>
+ if (timeout != OVERLAY_INFINITE)<br>
+ mHandler.sendMessageDelayed(mHandler.obtainMessage(FADE_OUT), timeout);<br>
}<br>
updateOverlayPausePlay();<br>
}<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.1.1<br>
<br>
_______________________________________________<br>
Android mailing list<br>
<a href="mailto:Android@videolan.org">Android@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/android" target="_blank">https://mailman.videolan.org/listinfo/android</a><br>
</font></span></blockquote></div><br></div>