From bc649410f73e8a27f98cd8d457057a1048873901 Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Wed, 16 May 2018 12:15:27 -0700 Subject: Added assisted dialing to all calls in speed dial. Bug: 79213974 Test: n/a PiperOrigin-RevId: 196868459 Change-Id: Ic1df5debf5273f3b41985b6922589854f07733e1 --- java/com/android/dialer/speeddial/DisambigDialog.java | 5 ++++- java/com/android/dialer/speeddial/SpeedDialFragment.java | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/java/com/android/dialer/speeddial/DisambigDialog.java b/java/com/android/dialer/speeddial/DisambigDialog.java index 2dd43fa0a..868f91d17 100644 --- a/java/com/android/dialer/speeddial/DisambigDialog.java +++ b/java/com/android/dialer/speeddial/DisambigDialog.java @@ -186,6 +186,7 @@ public class DisambigDialog extends DialogFragment { PreCall.start( getContext(), new CallIntentBuilder(channel.number(), CallInitiationType.Type.SPEED_DIAL) + .setAllowAssistedDial(true) .setIsVideoCall(true) .setIsDuoCall(channel.technology() == Channel.DUO)); dismiss(); @@ -197,7 +198,9 @@ public class DisambigDialog extends DialogFragment { } PreCall.start( - getContext(), new CallIntentBuilder(channel.number(), CallInitiationType.Type.SPEED_DIAL)); + getContext(), + new CallIntentBuilder(channel.number(), CallInitiationType.Type.SPEED_DIAL) + .setAllowAssistedDial(true)); dismiss(); } diff --git a/java/com/android/dialer/speeddial/SpeedDialFragment.java b/java/com/android/dialer/speeddial/SpeedDialFragment.java index f94ad7d9e..fc80d23da 100644 --- a/java/com/android/dialer/speeddial/SpeedDialFragment.java +++ b/java/com/android/dialer/speeddial/SpeedDialFragment.java @@ -347,6 +347,7 @@ public class SpeedDialFragment extends Fragment { PreCall.start( activity, new CallIntentBuilder(channel.number(), CallInitiationType.Type.SPEED_DIAL) + .setAllowAssistedDial(true) .setIsVideoCall(channel.isVideoTechnology()) .setIsDuoCall(channel.technology() == Channel.DUO)); } @@ -441,6 +442,7 @@ public class SpeedDialFragment extends Fragment { PreCall.start( getContext(), new CallIntentBuilder(channel.number(), CallInitiationType.Type.SPEED_DIAL) + .setAllowAssistedDial(true) .setIsVideoCall(channel.isVideoTechnology()) .setIsDuoCall(channel.technology() == Channel.DUO)); } @@ -523,6 +525,7 @@ public class SpeedDialFragment extends Fragment { PreCall.start( activity, new CallIntentBuilder(channel.number(), CallInitiationType.Type.SPEED_DIAL) + .setAllowAssistedDial(true) .setIsVideoCall(channel.isVideoTechnology()) .setIsDuoCall(channel.technology() == Channel.DUO)); } -- cgit v1.2.3