Removing shadow and badging from the icon which is shown in the menu

These are added as soon as the icon is added to the workspace

Bug: 28980830
Change-Id: I725d2ee8994324f09d9ecf7bbbb0090a7ceb5769
This commit is contained in:
Sunny Goyal committed 2016-07-26 14:18:09 -07:00
1 parent 2f88ef34fb
commit 10923b30a2
7 files changed
+104 -63

No files matched your search

@@ -348,7 +348,7 @@ public class InstallShortcutReceiver extends BroadcastReceiver {
public ShortcutInfo getShortcutInfo() {
if (activityInfo != null) {
return ShortcutInfo.fromActivityInfo(activityInfo, mContext);
return new ShortcutInfo(activityInfo, mContext);
} else {
return LauncherAppState.getInstance().getModel().infoFromShortcutIntent(mContext, data);
}