summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/calllog/MissedCallNotifier.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-11-12 00:55:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-11-12 00:55:34 +0000
commit2b52d2a3cdcb0ac00d87d2c2cbd1d6b750ea036d (patch)
treec87ae220455edeac1c6fb5b12e033e37a07c9ed4 /java/com/android/dialer/app/calllog/MissedCallNotifier.java
parent5e20ba7b1c6a9644da034b345000b37856d78125 (diff)
parentb7dba5aaa8c477d97121fc6e3411332e66cbabe8 (diff)
Merge changes I0ed4fa1b,Ie03ce41e,If41868df,Iba2e9092
* changes: Expose tab index to protected Added temporary logging to debug problem with null phone numbers from remote contacts. Hook up pre-call actions Implement CallingAccountSelector and AssistedDialAction
Diffstat (limited to 'java/com/android/dialer/app/calllog/MissedCallNotifier.java')
-rw-r--r--java/com/android/dialer/app/calllog/MissedCallNotifier.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/com/android/dialer/app/calllog/MissedCallNotifier.java b/java/com/android/dialer/app/calllog/MissedCallNotifier.java
index 8e09cf8df..dd92bb4e2 100644
--- a/java/com/android/dialer/app/calllog/MissedCallNotifier.java
+++ b/java/com/android/dialer/app/calllog/MissedCallNotifier.java
@@ -60,6 +60,7 @@ import com.android.dialer.notification.NotificationChannelId;
import com.android.dialer.notification.NotificationManagerUtils;
import com.android.dialer.phonenumbercache.ContactInfo;
import com.android.dialer.phonenumberutil.PhoneNumberHelper;
+import com.android.dialer.precall.PreCall;
import com.android.dialer.util.DialerUtils;
import com.android.dialer.util.IntentUtil;
import java.util.Iterator;
@@ -438,8 +439,9 @@ public class MissedCallNotifier implements Worker<Pair<Integer, String>, Void> {
cancelSingleMissedCallNotification(context, callUri);
DialerUtils.startActivityWithErrorToast(
context,
- new CallIntentBuilder(number, CallInitiationType.Type.MISSED_CALL_NOTIFICATION)
- .build()
+ PreCall.getIntent(
+ context,
+ new CallIntentBuilder(number, CallInitiationType.Type.MISSED_CALL_NOTIFICATION))
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
}