Add onClickPagedViewIcon to the Launcher.

Change-Id: I34505ee5c9a6fe6ddd1a9f3134829fe0481e8bc0
This commit is contained in:
Mohammadinamul Sheik
2014-03-18 11:28:19 -07:00
parent e04e8b2a14
commit 3b1a54a206
2 changed files with 12 additions and 2 deletions
@@ -511,8 +511,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
if (mPressedIcon != null) {
mPressedIcon.lockDrawableState();
}
mLauncher.startActivitySafely(v, appInfo.intent, appInfo);
mLauncher.getStats().recordLaunch(appInfo.intent);
mLauncher.onClickPagedViewIcon(v, appInfo);
} else if (v instanceof PagedViewWidget) {
// Let the user know that they have to long press to add a widget
if (mWidgetInstructionToast != null) {