Add onClickPagedViewIcon to the Launcher.
Change-Id: I34505ee5c9a6fe6ddd1a9f3134829fe0481e8bc0
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user