am 95c7dfd0: am 5512b300: am 1e69f3e6: Fix emoji page

* commit '95c7dfd05abeb9a8802126208b94927561b54a9d':
  Fix emoji page
main
Satoshi Kataoka 2013-10-03 13:20:36 -07:00 committed by Android Git Automerger
commit 652fcd5605
1 changed files with 3 additions and 1 deletions

View File

@ -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);