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

Commit b33e3824 authored by Steven Ng's avatar Steven Ng Committed by Automerger Merge Worker
Browse files

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

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

Change-Id: I9a2ed9eb320f6b8ce469d1c4fca96fb8218953fd
parents 595c7ced 1184a03b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -123,7 +123,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)}.