diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-06-27 19:55:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-27 19:55:53 +0000 |
commit | 92fb80560200364df45129d365bf683ff3565fb8 (patch) | |
tree | c63b2ea96ddaa3d29fb2a6db04461ae178fd488a /java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java | |
parent | 1b4ec7b954ba2d8efae2f383697babe54b795f67 (diff) | |
parent | 1197fa7205cf3c709fb2718e12b563a720af85ea (diff) |
Merge changes I277fcbc7,Idcf29c93
* changes:
Add voip call checks.
Log existing call log impressions in the new call log.
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; } |