Loading src/com/android/calendar/Utils.java +1 −3 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
src/com/android/calendar/Utils.java +1 −3 Original line number Diff line number Diff line Loading @@ -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) { Loading