Skip to content
Snippets Groups Projects
Commit 0d0c3aab authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

LibVLC: Add Android P build check utility

parent 42a66683
No related branches found
No related tags found
No related merge requests found
Pipeline #5726 passed with stage
in 3 minutes and 57 seconds
......@@ -27,7 +27,8 @@ import java.io.File;
public class AndroidUtil {
public static final boolean isOOrLater = android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
public static final boolean isPOrLater = android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.P;
public static final boolean isOOrLater = isPOrLater || android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
public static final boolean isNougatMR1OrLater = isOOrLater || android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1;
public static final boolean isNougatOrLater = isNougatMR1OrLater || android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N;
public static final boolean isMarshMallowOrLater = isNougatOrLater || android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment