Merge "Temporary disable saving keys of emoticons to recents"
This commit is contained in:
commit
d2cafb0305
1 changed files with 4 additions and 1 deletions
|
@ -505,7 +505,10 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange
|
|||
|
||||
@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) {
|
||||
|
|
Loading…
Reference in a new issue