Merge "Modify AT_LEAST_S check to include SDK int" into sc-dev am: 1184a03b08

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002455

Change-Id: I8eb4280704cc3528ec06cd16ed3c4eb2b7f535b5
This commit is contained in:
Steven Ng
2021-06-17 09:18:53 +00:00
committed by Automerger Merge Worker
+2 -1
View File
@@ -122,7 +122,8 @@ public final class Utilities {
public static final boolean ATLEAST_R = Build.VERSION.SDK_INT >= Build.VERSION_CODES.R;
public static final boolean ATLEAST_S = BuildCompat.isAtLeastS();
public static final boolean ATLEAST_S = BuildCompat.isAtLeastS()
|| Build.VERSION.SDK_INT >= Build.VERSION_CODES.S;
/**
* Set on a motion event dispatched from the nav bar. See {@link MotionEvent#setEdgeFlags(int)}.