Merge "Changing the widget loading strategy" into ub-launcher3-calgary

This commit is contained in:
Sunny Goyal
2016-03-10 04:22:37 +00:00
committed by Android (Google) Code Review
13 changed files with 265 additions and 247 deletions
+3 -1
View File
@@ -145,6 +145,8 @@ public class Stats {
LaunchSourceUtils.populateSourceDataFromAncestorProvider(v, sourceExtras);
broadcastIntent.putExtra(EXTRA_SOURCE, sourceExtras);
mLauncher.sendBroadcast(broadcastIntent, mLaunchBroadcastPermission);
mLauncher.getLogger().logAppLaunch(intent.getComponent().getPackageName(), shortcut, sourceExtras);
if (intent.getComponent() != null) {
mLauncher.getLogger().logAppLaunch(intent.getComponent().getPackageName(), shortcut, sourceExtras);
}
}
}