mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Updating SDK check now that the version code is finalized
Change-Id: I2b8d65885f83154f7500adb520b1eed1da5c4a4e
This commit is contained in:
@@ -107,9 +107,7 @@ public final class Utilities {
|
||||
private static final Matrix sMatrix = new Matrix();
|
||||
private static final Matrix sInverseMatrix = new Matrix();
|
||||
|
||||
public static final boolean ATLEAST_Q = Build.VERSION.CODENAME.length() == 1
|
||||
&& Build.VERSION.CODENAME.charAt(0) >= 'Q'
|
||||
&& Build.VERSION.CODENAME.charAt(0) <= 'Z';
|
||||
public static final boolean ATLEAST_Q = Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q;
|
||||
|
||||
public static final boolean ATLEAST_P =
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.P;
|
||||
|
||||
Reference in New Issue
Block a user