Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b86f4d1b authored by Sam Blitzstein's avatar Sam Blitzstein Committed by Android Git Automerger
Browse files

am 84f75c86: Use the correct version code check for K.

* commit '84f75c86':
  Use the correct version code check for K.
parents 6d5eba81 84f75c86
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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) {