Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d7365d4 authored by Satoshi Kataoka's avatar Satoshi Kataoka Committed by Android Git Automerger
Browse files

am d1ae0304: Fix OOBE in JB backword

* commit 'd1ae0304':
  Fix OOBE in JB backword
parents 94759249 d1ae0304
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -206,7 +206,14 @@ public final class EmojiKeyboardView extends LinearLayout implements OnTabChange
        }

        public int getCategoryPageSize(int categoryId) {
            return mShownCategories.get(categoryId).mPageCount;
            for (final CategoryProperties prop : mShownCategories) {
                if (prop.mCategoryId == categoryId) {
                    return prop.mPageCount;
                }
            }
            Log.w(TAG, "Invalid category id: " + categoryId);
            // Should not reach here.
            return 0;
        }

        public void setCurrentCategoryId(int categoryId) {