Skip to content
Snippets Groups Projects
Commit 4f28b227 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Update SDK version check due to I4716e71d72

Bug: 15603590
Change-Id: Ia2ac28a2dbf3e07678661d59e0aa6b4e6a536a02
parent 278b9071
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment