[Android] Avoid Lint error for api >= 11
Sébastien Toque
git at videolan.org
Sat Jul 7 09:26:35 CEST 2012
android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sat Jul 7 08:17:05 2012 +0200| [88522d25beeffb4d4229d7ab51c513dc60860513] | committer: Sébastien Toque
Avoid Lint error for api >= 11
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=88522d25beeffb4d4229d7ab51c513dc60860513
---
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 848168a..e9d7660 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -140,6 +140,7 @@ public class VideoPlayerActivity extends Activity {
private String[] mSubtitleTracks;
@Override
+ @TargetApi(11)
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.player);
More information about the Android
mailing list