summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java1
-rw-r--r--java/com/android/dialer/calldetails/CallDetailsActivityCommon.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java
index 94bd93368..8fbc459ca 100644
--- a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java
+++ b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java
@@ -441,6 +441,7 @@ public final class CallLogListItemViewHolder extends RecyclerView.ViewHolder
blockReportListener.onReportNotSpam(
displayNumber, number, countryIso, callType, info.sourceType);
} else if (resId == R.id.context_menu_delete) {
+ Logger.get(context).logImpression(DialerImpression.Type.USER_DELETED_CALL_LOG_ITEM);
AsyncTaskExecutors.createAsyncTaskExecutor()
.submit(TASK_DELETE, new DeleteCallTask(context, callIds));
}
diff --git a/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java b/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java
index 45200b9ce..dea1b8cda 100644
--- a/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java
+++ b/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java
@@ -350,6 +350,7 @@ abstract class CallDetailsActivityCommon extends AppCompatActivity {
@Override
public void delete() {
CallDetailsActivityCommon activity = getActivity();
+ Logger.get(activity).logImpression(DialerImpression.Type.USER_DELETED_CALL_LOG_ITEM);
DialerExecutorComponent.get(activity)
.dialerExecutorFactory()
.createNonUiTaskBuilder(new DeleteCallsWorker(activity))