[Android] Pass @TargetApi for the whole VideoPlayerActivity
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 9 11:42:53 CEST 2014
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 9 11:36:43 2014 +0200| [13a5af07ca000f2e7f97791bf49152b16a54112a] | committer: Jean-Baptiste Kempf
Pass @TargetApi for the whole VideoPlayerActivity
Else, it will go on warning for all presentationDisplay related stuff
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=13a5af07ca000f2e7f97791bf49152b16a54112a
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
1 file changed, 1 insertion(+)
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 efc238d..335665f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -108,6 +108,7 @@ import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener;
import android.widget.TextView;
+ at TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
public class VideoPlayerActivity extends Activity implements IVideoPlayer {
public final static String TAG = "VLC/VideoPlayerActivity";
More information about the Android
mailing list