diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardTheme.java b/java/src/com/android/inputmethod/keyboard/KeyboardTheme.java index 1f14aa2e3..7a8c0c80b 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardTheme.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardTheme.java @@ -108,7 +108,7 @@ public final class KeyboardTheme { private static int getSdkVersion() { final int sdkVersion = Build.VERSION.SDK_INT; // 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 sdkVersion;