Merge "Disable smooth scroll of Emoji pager"

main
Satoshi Kataoka 2013-09-17 03:51:46 +00:00 committed by Android (Google) Code Review
commit fc51a82079
1 changed files with 1 additions and 1 deletions

View File

@ -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);