summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Launcher.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r--src/com/android/launcher2/Launcher.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index b5f20e41d..b82e0cfbd 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -2086,6 +2086,15 @@ public final class Launcher extends Activity
}
/**
+ * Find out how many apps we should send to the grid at a time.
+ *
+ * Implementation of the method from LauncherModel.Callbacks.
+ */
+ public int getAppBatchSize() {
+ return mAllAppsGrid.getAppBatchSize();
+ }
+
+ /**
* Prints out out state for debugging.
*/
public void dumpState() {