Merge "Fix emoji tabs"
commit
e3a38af506
|
@ -125,7 +125,7 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange
|
||||||
mShownCategories.add(CATEGORY_NATURE);
|
mShownCategories.add(CATEGORY_NATURE);
|
||||||
mShownCategories.add(CATEGORY_PLACES);
|
mShownCategories.add(CATEGORY_PLACES);
|
||||||
// TODO: Restore last saved category
|
// TODO: Restore last saved category
|
||||||
mCurrentCategory = CATEGORY_PLACES;
|
mCurrentCategory = CATEGORY_PEOPLE;
|
||||||
} else {
|
} else {
|
||||||
// TODO: Restore last saved category
|
// TODO: Restore last saved category
|
||||||
mCurrentCategory = CATEGORY_SYMBOLS;
|
mCurrentCategory = CATEGORY_SYMBOLS;
|
||||||
|
@ -156,7 +156,7 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange
|
||||||
|
|
||||||
public int getCurrentCategory() {
|
public int getCurrentCategory() {
|
||||||
// TODO: Record current category.
|
// TODO: Record current category.
|
||||||
return CATEGORY_PEOPLE;
|
return mCurrentCategory;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCurrentCategory(int category) {
|
public void setCurrentCategory(int category) {
|
||||||
|
|
Loading…
Reference in New Issue