diff options
author | erfanian <erfanian@google.com> | 2018-06-27 13:23:52 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-06-27 13:23:52 -0700 |
commit | 7d89eba834b63fa6aed56281e8cb42bf4ddeb42a (patch) | |
tree | 01e38ce193839566d6023da595630f06233b94cc /java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java | |
parent | a582e75614b8bcfc6849f83641575a4540afab45 (diff) | |
parent | 517572cd4de887daf129eb8b11ad9e4b5a534744 (diff) |
Merge changes I277fcbc7,Idcf29c93 am: 92fb805602 am: 6c0a406956
am: 517572cd4d
Change-Id: I88ca15c86095328a9cef8a38f9fc16b6bcc4aba8
Diffstat (limited to 'java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java')
-rw-r--r-- | java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java b/java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java index ad5671e45..a929961d6 100644 --- a/java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java +++ b/java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java @@ -29,18 +29,20 @@ import com.android.dialer.common.concurrent.DialerExecutor.Worker; import com.android.dialer.common.concurrent.DialerExecutorComponent; import com.android.dialer.common.database.Selection; import com.android.dialer.historyitemactions.HistoryItemActionModule; +import com.android.dialer.logging.DialerImpression; +import com.android.dialer.logging.Logger; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.List; /** {@link HistoryItemActionModule} for deleting a call log item in the new call log. */ -public final class DeleteCallLogItemModule implements HistoryItemActionModule { +final class DeleteCallLogItemModule implements HistoryItemActionModule { private static final String TAG = DeleteCallLogItemModule.class.getName(); private final Context context; private final CoalescedIds coalescedIds; - public DeleteCallLogItemModule(Context context, CoalescedIds coalescedIds) { + DeleteCallLogItemModule(Context context, CoalescedIds coalescedIds) { this.context = context; this.coalescedIds = coalescedIds; } @@ -62,6 +64,8 @@ public final class DeleteCallLogItemModule implements HistoryItemActionModule { .createNonUiTaskBuilder(new CallLogItemDeletionWorker(context)) .build() .executeSerial(coalescedIds); + + Logger.get(context).logImpression(DialerImpression.Type.USER_DELETED_CALL_LOG_ITEM); return true; } |