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

Commit 90a40570 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Using support lib for isAtleastO check" into ub-launcher3-master

parents aecb7cf9 88e5aa1d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ import android.os.Bundle;
import android.os.DeadObjectException;
import android.os.PowerManager;
import android.os.TransactionTooLargeException;
import android.support.v4.os.BuildCompat;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.TextUtils;
@@ -89,9 +90,7 @@ public final class Utilities {
    private static final Matrix sInverseMatrix = new Matrix();

    public static boolean isAtLeastO() {
        // TODO: Clean this up: b/32610406
        return !"REL".equals(Build.VERSION.CODENAME)
                && "O".compareTo(Build.VERSION.CODENAME) <= 0;
        return BuildCompat.isAtLeastO();
    }

    public static final boolean ATLEAST_NOUGAT_MR1 =