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

Commit d1ae0304 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

Fix OOBE in JB backword

Bug: 10905948
Change-Id: I4e953296ce3067d05fc5759375f40513580484a6
parent f068c6e6
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) {