Commit 57c156f4 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Util: add isJellyBeanOrLater version check

parent 8d29b7b2
......@@ -232,6 +232,12 @@ public class Util {
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH;
}
public static boolean isJellyBeanOrLater()
{
//TODO Compare with VERSION_CODES once targetSdkVersion >= 16
return android.os.Build.VERSION.SDK_INT >= 16;
}
public static boolean hasNavBar()
{
return hasNavBar;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment