From 44220e727105c23fad8eaf3777390e65747c1401 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Tue, 17 Sep 2013 11:43:11 +0900 Subject: [PATCH] Disable smooth scroll of Emoji pager Bug: 10538430 Change-Id: Ib9dfa28bf6b642cc8895022ead9e6b2d64001097 --- .../src/com/android/inputmethod/keyboard/EmojiKeyboardView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java index d28b5088c..546fa8140 100644 --- a/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/EmojiKeyboardView.java @@ -533,7 +533,7 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange final int newCategoryPageId = mEmojiCategory.getPageIdFromCategoryId(categoryId); if (force || mEmojiCategory.getCategoryIdAndPageIdFromPagePosition( mEmojiPager.getCurrentItem()).first != categoryId) { - mEmojiPager.setCurrentItem(newCategoryPageId, true /* smoothScroll */); + mEmojiPager.setCurrentItem(newCategoryPageId, false /* smoothScroll */); } if (force || mTabHost.getCurrentTab() != newTabId) { mTabHost.setCurrentTab(newTabId);