aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-09-13 14:48:16 +0900
committerSatoshi Kataoka <satok@google.com>2013-09-13 14:48:52 +0900
commit12ff349f2906f9183691856eef627e0cb794c106 (patch)
treef6dbf8808db1980f5e6f45e9a5ffce930acd4d50 /java/src
parent244eca3809317ebe3b9a7c4ecc73c04beac2b87e (diff)
downloadlatinime-12ff349f2906f9183691856eef627e0cb794c106.tar.gz
latinime-12ff349f2906f9183691856eef627e0cb794c106.tar.xz
latinime-12ff349f2906f9183691856eef627e0cb794c106.zip
Fix emoji tabs
Bug: 10541453 Change-Id: If920eafa0c48e437301fc0b7055ea7b7bbc04669
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java
index 437ba1812..6c6370490 100644
--- a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java
@@ -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) {