Fix emoji tabs

Bug: 10541453
Change-Id: If920eafa0c48e437301fc0b7055ea7b7bbc04669
main
Satoshi Kataoka 2013-09-13 14:48:16 +09:00
parent 244eca3809
commit 12ff349f29
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange
mShownCategories.add(CATEGORY_NATURE);
mShownCategories.add(CATEGORY_PLACES);
// TODO: Restore last saved category
mCurrentCategory = CATEGORY_PLACES;
mCurrentCategory = CATEGORY_PEOPLE;
} else {
// TODO: Restore last saved category
mCurrentCategory = CATEGORY_SYMBOLS;
@ -156,7 +156,7 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange
public int getCurrentCategory() {
// TODO: Record current category.
return CATEGORY_PEOPLE;
return mCurrentCategory;
}
public void setCurrentCategory(int category) {