Click on icons.
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index e1b213e..bf08b4e 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -518,6 +518,7 @@
dragLayer.setDragController(dragController);
mAllAppsGrid = (AllAppsView)dragLayer.findViewById(R.id.all_apps_view);
+ mAllAppsGrid.setLauncher(this);
mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace);
final Workspace workspace = mWorkspace;
@@ -575,7 +576,7 @@
TextView favorite = (TextView) mInflater.inflate(layoutResId, parent, false);
if (!info.filtered) {
- info.icon = Utilities.createIconThumbnail(info.icon, this, false);
+ info.icon = Utilities.createIconThumbnail(info.icon, this);
info.filtered = true;
}
@@ -873,7 +874,6 @@
TextKeyListener.getInstance().release();
- mAllAppsGrid.setAdapter(null);
mModel.stopLoader();
unbindDesktopItems();