Replaces StatsLogManager.log with StatsLogManager.logger()

Bug: 159170445
Change-Id: Ice6c8a9ae30d8e6b3843bfe42926053849bf9fe0
This commit is contained in:
thiruram
2020-06-16 18:58:13 -07:00
committed by Thiru Ramasamy
parent 4de12a2424
commit c6a38ba5d8
20 changed files with 61 additions and 150 deletions

View File

@@ -107,8 +107,8 @@ public class NotificationInfo implements View.OnClickListener {
try {
intent.send(null, 0, null, null, null, null, activityOptions);
launcher.getUserEventDispatcher().logNotificationLaunch(view, intent);
launcher.getStatsLogManager()
.log(LAUNCHER_NOTIFICATION_LAUNCH_TAP, mItemInfo);
launcher.getStatsLogManager().logger().withItemInfo(mItemInfo)
.log(LAUNCHER_NOTIFICATION_LAUNCH_TAP);
} catch (PendingIntent.CanceledException e) {
e.printStackTrace();
}