diff options
author | 2013-09-25 17:16:45 +0900 | |
---|---|---|
committer | 2013-09-25 17:20:27 +0900 | |
commit | 1e69f3e637238407492aab536760644aca33f38d (patch) | |
tree | a528b2a2994b0516f70f0f6ddded0661cfecb0e1 /java/src | |
parent | 0938fb6913c10d32f0a870210fc208c7bbfe282c (diff) | |
download | latinime-1e69f3e637238407492aab536760644aca33f38d.tar.gz latinime-1e69f3e637238407492aab536760644aca33f38d.tar.xz latinime-1e69f3e637238407492aab536760644aca33f38d.zip |
Fix emoji page
Bug: 10538430
Change-Id: If4d5ebb26e7ead259e8f370462ccf4c9dbf734f8
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java index 5b8b188e5..61dc56ed1 100644 --- a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java @@ -153,7 +153,9 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange mCategoryNameToIdMap.put(sCategoryName[i], i); } addShownCategoryId(CATEGORY_ID_RECENTS); - if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2) { + if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2 + || android.os.Build.VERSION.CODENAME.equalsIgnoreCase("KeyLimePie") + || android.os.Build.VERSION.CODENAME.equalsIgnoreCase("KitKat")) { addShownCategoryId(CATEGORY_ID_PEOPLE); addShownCategoryId(CATEGORY_ID_OBJECTS); addShownCategoryId(CATEGORY_ID_NATURE); |