summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Blitzstein <sblitz@google.com>2013-10-09 10:19:37 -0700
committerSam Blitzstein <sblitz@google.com>2013-10-09 18:18:00 +0000
commit84f75c86a6f35ee5cb2fbf9a0d1885c857d5269a (patch)
treef7ec08194776beab5f438864b17e452068da3c49
parent1bac111b591a5f6ef72293d0ad59ec67ede27cff (diff)
downloadCalendar-kitkat-release.tar.gz
Bug: 11151451 Change-Id: I190d33b06263e15157ea457d6ab76dc4fe5e497a (cherry picked from commit 4e7b1b2244f2dbd4fa30cc506864f3be19a95f01)
-rw-r--r--src/com/android/calendar/Utils.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/calendar/Utils.java b/src/com/android/calendar/Utils.java
index 40a9e58d..4018f22b 100644
--- a/src/com/android/calendar/Utils.java
+++ b/src/com/android/calendar/Utils.java
@@ -211,9 +211,7 @@ public class Utils {
* Returns whether the SDK is the KeyLimePie release or later.
*/
public static boolean isKeyLimePieOrLater() {
- // TODO when SDK is set to 19, switch back to this:
-// return Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2;
- return "KeyLimePie".equals(Build.VERSION.CODENAME);
+ return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
}
public static int getViewTypeFromIntentAndSharedPref(Activity activity) {