aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-contacts
diff options
context:
space:
mode:
Diffstat (limited to 'cgeo-contacts')
-rw-r--r--cgeo-contacts/build.xml2
-rw-r--r--cgeo-contacts/src/cgeo/contacts/Compatibility.java23
2 files changed, 1 insertions, 24 deletions
diff --git a/cgeo-contacts/build.xml b/cgeo-contacts/build.xml
index b7aecaa..971548e 100644
--- a/cgeo-contacts/build.xml
+++ b/cgeo-contacts/build.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project name="cgeo-calendar" default="help">
+<project name="cgeo-contacts" default="help">
<!-- The local.properties file is created and updated by the 'android' tool.
It contains the path to the SDK. It should *NOT* be checked into
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;
- }
-}