am ad4f964a: am 4f28b227: Update SDK version check due to I4716e71d72

* commit 'ad4f964a702534e60dfeb68d922d815ab2dcbacb':
  Update SDK version check due to I4716e71d72
This commit is contained in:
Tadashi G. Takaoka 2014-06-13 19:22:59 +00:00 committed by Android Git Automerger
commit d5a81849c3

View file

@ -99,7 +99,7 @@ public final class KeyboardTheme implements Comparable<KeyboardTheme> {
private static int getSdkVersion() { private static int getSdkVersion() {
final int sdkVersion = Build.VERSION.SDK_INT; final int sdkVersion = Build.VERSION.SDK_INT;
// TODO: Consider to remove this check once the *next* version becomes available. // TODO: Consider to remove this check once the *next* version becomes available.
if (sdkVersion == VERSION_CODES.KITKAT && Build.VERSION.CODENAME.startsWith("L")) { if (sdkVersion > VERSION_CODES.KITKAT) {
return VERSION_CODES.CUR_DEVELOPMENT; return VERSION_CODES.CUR_DEVELOPMENT;
} }
return sdkVersion; return sdkVersion;