Commit cba5031e authored by Ludovic Fauvet's avatar Ludovic Fauvet

Replace version code by constant

parent 2c7f2e7a
......@@ -234,8 +234,7 @@ public class Util {
public static boolean isJellyBeanOrLater()
//TODO Compare with VERSION_CODES once targetSdkVersion >= 16
return android.os.Build.VERSION.SDK_INT >= 16;
return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN;
public static boolean 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