From 4f28b22766e06b8c62636527393945114ea78002 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 13 Jun 2014 18:52:36 +0900 Subject: [PATCH] Update SDK version check due to I4716e71d72 Bug: 15603590 Change-Id: Ia2ac28a2dbf3e07678661d59e0aa6b4e6a536a02 --- java/src/com/android/inputmethod/keyboard/KeyboardTheme.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;