Loading src/com/android/launcher3/allapps/AllAppsGridAdapter.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class AllAppsGridAdapter<T extends Context & ActivityContext> extends List<AdapterItem> items = mApps.getAdapterItems(); adapterPosition = Math.max(adapterPosition, items.size() - 1); int extraRows = 0; for (int i = 0; i <= adapterPosition; i++) { for (int i = 0; i <= adapterPosition && i < items.size(); i++) { if (!isViewType(items.get(i).viewType, VIEW_TYPE_MASK_ICON)) { extraRows++; } Loading Loading
src/com/android/launcher3/allapps/AllAppsGridAdapter.java +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class AllAppsGridAdapter<T extends Context & ActivityContext> extends List<AdapterItem> items = mApps.getAdapterItems(); adapterPosition = Math.max(adapterPosition, items.size() - 1); int extraRows = 0; for (int i = 0; i <= adapterPosition; i++) { for (int i = 0; i <= adapterPosition && i < items.size(); i++) { if (!isViewType(items.get(i).viewType, VIEW_TYPE_MASK_ICON)) { extraRows++; } Loading