commit | fb9b50671d6c607b7ef256e233f6294831fb03a1 | [log] [tgz] |
---|---|---|
author | Satoshi Kataoka <satok@google.com> | Tue Sep 17 16:37:34 2013 +0900 |
committer | Satoshi Kataoka <satok@google.com> | Tue Sep 17 16:40:13 2013 +0900 |
tree | 0492f4882e746f73774d2da2713426a3be1aa04c | |
parent | 71cce2dd3efd51bf0113e09d6e619400fb45478b [diff] |
Temporary disable saving keys of emoticons to recents Bug: 10538430 Change-Id: I4c3d0d692eecdd3bb5e780bdaca46f3310065471
diff --git a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java index 546fa81..702ed20 100644 --- a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java
@@ -505,7 +505,10 @@ @Override public void onKeyClick(final Key key) { - mEmojiKeyboardAdapter.addRecentKey(key); + // TODO: Save emoticons to recents + if (mEmojiCategory.getCurrentCategoryId() != CATEGORY_ID_EMOTICONS) { + mEmojiKeyboardAdapter.addRecentKey(key); + } mEmojiCategory.saveLastTypedCategoryPage(); final int code = key.getCode(); if (code == Constants.CODE_OUTPUT_TEXT) {