[Android] Suppress lint warnings

Geoffrey Métais git at videolan.org
Tue Feb 9 16:14:30 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb  9 16:14:03 2016 +0100| [99645e8bcbff727f95e93cd35cc6d1e7f6b257bf] | committer: Geoffrey Métais

Suppress lint warnings

> https://code.videolan.org/videolan/vlc-android/commit/99645e8bcbff727f95e93cd35cc6d1e7f6b257bf
---

 vlc-android/src/org/videolan/vlc/gui/tv/SearchActivity.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/SearchActivity.java b/vlc-android/src/org/videolan/vlc/gui/tv/SearchActivity.java
index 9f33781..0e4a595 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/SearchActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/SearchActivity.java
@@ -20,12 +20,15 @@
  *****************************************************************************/
 package org.videolan.vlc.gui.tv;
 
+import android.annotation.TargetApi;
 import android.app.Activity;
+import android.os.Build;
 import android.os.Bundle;
 import android.support.v17.leanback.widget.SpeechRecognitionCallback;
 
 import org.videolan.vlc.R;
 
+ at TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
 public class SearchActivity extends Activity {
 
     SearchFragment mFragment;



More information about the Android mailing list