diff options
author | Bananeweizen <Bananeweizen@gmx.de> | 2013-12-29 18:09:47 +0100 |
---|---|---|
committer | Bananeweizen <Bananeweizen@gmx.de> | 2013-12-29 18:09:47 +0100 |
commit | bd1bc59681f6597cf030376825a82f9aeed24d79 (patch) | |
tree | 4b00efb361e643ad094be29283df402a09b851e6 /cgeo-contacts/src | |
parent | cc76329e0db37ffa9b90472d1595b7876c9804b5 (diff) | |
download | cgeo-bd1bc59681f6597cf030376825a82f9aeed24d79.zip cgeo-bd1bc59681f6597cf030376825a82f9aeed24d79.tar.gz cgeo-bd1bc59681f6597cf030376825a82f9aeed24d79.tar.bz2 |
cleanup: remove references to calendar addon from contacts addon
Diffstat (limited to 'cgeo-contacts/src')
-rw-r--r-- | cgeo-contacts/src/cgeo/contacts/Compatibility.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cgeo-contacts/src/cgeo/contacts/Compatibility.java b/cgeo-contacts/src/cgeo/contacts/Compatibility.java deleted file mode 100644 index dd4ae0a..0000000 --- a/cgeo-contacts/src/cgeo/contacts/Compatibility.java +++ /dev/null @@ -1,23 +0,0 @@ -package cgeo.contacts; - -import android.net.Uri; -import android.os.Build; - -public final class Compatibility { - - private final static int sdkVersion = Build.VERSION.SDK_INT; - private final static boolean isLevel8 = sdkVersion >= 8; - private final static boolean isLevel14 = sdkVersion >= 14; - - public static Uri getCalendarProviderURI() { - return Uri.parse(isLevel8 ? "content://com.android.calendar/calendars" : "content://calendar/calendars"); - } - - public static Uri getCalendarEventsProviderURI() { - return Uri.parse(isLevel8 ? "content://com.android.calendar/events" : "content://calendar/events"); - } - - public static boolean isLevel14() { - return isLevel14; - } -} |