mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-17 21:06:48 +01:00
Missing method needed by the previous commit.
This commit is contained in:
parent
50cf149d99
commit
134905ed6a
@ -304,6 +304,9 @@ public class GBApplication extends Application {
|
|||||||
public static boolean isRunningMarshmallowOrLater() {
|
public static boolean isRunningMarshmallowOrLater() {
|
||||||
return VERSION.SDK_INT >= Build.VERSION_CODES.M;
|
return VERSION.SDK_INT >= Build.VERSION_CODES.M;
|
||||||
}
|
}
|
||||||
|
public static boolean isRunningNougatOrLater() {
|
||||||
|
return VERSION.SDK_INT >= Build.VERSION_CODES.N;
|
||||||
|
}
|
||||||
|
|
||||||
public static boolean isRunningOreoOrLater(){
|
public static boolean isRunningOreoOrLater(){
|
||||||
return VERSION.SDK_INT >= Build.VERSION_CODES.O;
|
return VERSION.SDK_INT >= Build.VERSION_CODES.O;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user