Missing method needed by the previous commit.

This commit is contained in:
Daniele Gobbetti
2018-04-12 22:07:15 +02:00
parent 50cf149d99
commit 134905ed6a
@@ -304,6 +304,9 @@ public class GBApplication extends Application {
public static boolean isRunningMarshmallowOrLater() {
return VERSION.SDK_INT >= Build.VERSION_CODES.M;
}
public static boolean isRunningNougatOrLater() {
return VERSION.SDK_INT >= Build.VERSION_CODES.N;
}
public static boolean isRunningOreoOrLater(){
return VERSION.SDK_INT >= Build.VERSION_CODES.O;