Make phones with sdk >=9 report they use SDK 8.
This commit is contained in:
parent
e0399ec640
commit
976ea187f2
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ import android.os.Build;
|
|||
*/
|
||||
public class Version {
|
||||
|
||||
private static final int buildVersion =
|
||||
Integer.parseInt(Build.VERSION.SDK);
|
||||
private static final int buildVersion = Integer.parseInt(Build.VERSION.SDK) >= 9?
|
||||
8 : Integer.parseInt(Build.VERSION.SDK); // Force versions above 9 to 8
|
||||
// 7; // 2.1
|
||||
|
||||
public static final boolean sdkAbove(int value) {
|
||||
|
|
Loading…
Reference in a new issue