[Android] Remove unneeded TargetApi annotation
Ludovic Fauvet
git at videolan.org
Fri Oct 19 15:23:29 CEST 2012
vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Oct 19 13:31:01 2012 +0200| [db25a996f7f53184ff10c7540d184ef592d3c1bf] | committer: Ludovic Fauvet
Remove unneeded TargetApi annotation
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=db25a996f7f53184ff10c7540d184ef592d3c1bf
---
vlc-android/src/org/videolan/vlc/Util.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index 55c9889..344a99a 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -33,7 +33,6 @@ import java.util.HashSet;
import java.util.Locale;
import java.util.Properties;
-import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Bitmap;
import android.net.Uri;
@@ -245,7 +244,6 @@ public class Util {
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN;
}
- @TargetApi(9)
public static boolean hasExternalStorage() {
return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
}
More information about the Android
mailing list