diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-06-09 08:42:39 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-06-09 08:42:49 -0700 |
commit | de57cafbb2f30d2255ffc334323b8eb8083dd748 (patch) | |
tree | e897e19a994f4590ba0575fb37f00fd993606199 /src/com/android/launcher3/Utilities.java | |
parent | e6711ceeb627f93266edd636e998c5a246f1e298 (diff) | |
download | android_packages_apps_Trebuchet-de57cafbb2f30d2255ffc334323b8eb8083dd748.tar.gz android_packages_apps_Trebuchet-de57cafbb2f30d2255ffc334323b8eb8083dd748.tar.bz2 android_packages_apps_Trebuchet-de57cafbb2f30d2255ffc334323b8eb8083dd748.zip |
Removing some support lib dependencies
Change-Id: I028ed591cc9cf0af94fe6e09fadcd255f07cdee5
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r-- | src/com/android/launcher3/Utilities.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index c2987f881..9100fe28d 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java @@ -38,7 +38,6 @@ 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; @@ -86,7 +85,7 @@ public final class Utilities { private static final Matrix sInverseMatrix = new Matrix(); public static boolean isAtLeastO() { - return BuildCompat.isAtLeastO(); + return Build.VERSION.SDK_INT >= Build.VERSION_CODES.O; } public static final boolean ATLEAST_NOUGAT_MR1 = |