diff options
author | blafoo <github@blafoo.de> | 2012-05-10 10:52:55 +0200 |
---|---|---|
committer | blafoo <github@blafoo.de> | 2012-05-10 20:30:51 +0200 |
commit | eb92a136754b4cdd8ce2c6ad94881460d0378ad7 (patch) | |
tree | 12df9dfdda22b0522b587f582242024625ff7f06 /cgeo-calendar/src | |
parent | 7554613d6ba3b61aac86575667e661ca8548af86 (diff) | |
download | cgeo-eb92a136754b4cdd8ce2c6ad94881460d0378ad7.zip cgeo-eb92a136754b4cdd8ce2c6ad94881460d0378ad7.tar.gz cgeo-eb92a136754b4cdd8ce2c6ad94881460d0378ad7.tar.bz2 |
Removed deprecated warnings
Diffstat (limited to 'cgeo-calendar/src')
-rw-r--r-- | cgeo-calendar/src/cgeo/calendar/Compatibility.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgeo-calendar/src/cgeo/calendar/Compatibility.java b/cgeo-calendar/src/cgeo/calendar/Compatibility.java index 905d6df..8813f41 100644 --- a/cgeo-calendar/src/cgeo/calendar/Compatibility.java +++ b/cgeo-calendar/src/cgeo/calendar/Compatibility.java @@ -5,7 +5,7 @@ import android.os.Build; public final class Compatibility { - private final static int sdkVersion = Integer.parseInt(Build.VERSION.SDK); + private final static int sdkVersion = Build.VERSION.SDK_INT; private final static boolean isLevel8 = sdkVersion >= 8; private final static boolean isLevel14 = sdkVersion >= 14; |