[Android] Presentation: don't call updatePresentation on devices older than 4.3

Ludovic Fauvet git at videolan.org
Wed Feb 12 18:15:57 CET 2014


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Feb 12 18:10:39 2014 +0100| [0a8c42c886fc65e4e4f77e7dc6ba817a3bcf34f9] | committer: Ludovic Fauvet

Presentation: don't call updatePresentation on devices older than 4.3

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0a8c42c886fc65e4e4f77e7dc6ba817a3bcf34f9
---

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    4 +++-
 1 file changed, 3 insertions(+), 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 6271c07..be8baf3 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -491,7 +491,9 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
             }
         }
 
-        updatePresentation();
+        if (Util.isJellyBeanOrLater()) {
+            updatePresentation();
+        }
     }
 
     @Override



More information about the Android mailing list