diff options
author | erfanian <erfanian@google.com> | 2018-03-02 14:54:35 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-02 14:55:37 -0800 |
commit | d2e5d0be467cf8b200feeab73691e08d02f7da2e (patch) | |
tree | 4008e50d81df0c20c2791f6d414775e65af62f13 /java/com/android/dialer/precall | |
parent | ed022b519350fad09509252d52cce71b18ff4c0c (diff) |
Move assisted dialing out of P.
Bug: 73727182
Test: tested
PiperOrigin-RevId: 187673539
Change-Id: I9c790e912990fb8dc46da1c1057339c979ac9501
Diffstat (limited to 'java/com/android/dialer/precall')
-rw-r--r-- | java/com/android/dialer/precall/impl/AssistedDialAction.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/com/android/dialer/precall/impl/AssistedDialAction.java b/java/com/android/dialer/precall/impl/AssistedDialAction.java index 15a889e74..9ed37ac8c 100644 --- a/java/com/android/dialer/precall/impl/AssistedDialAction.java +++ b/java/com/android/dialer/precall/impl/AssistedDialAction.java @@ -20,7 +20,6 @@ import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.os.Bundle; -import android.support.v4.os.BuildCompat; import android.telecom.PhoneAccount; import android.telephony.SubscriptionInfo; import android.telephony.TelephonyManager; @@ -58,9 +57,7 @@ public class AssistedDialAction implements PreCallAction { AssistedDialingMediator assistedDialingMediator = ConcreteCreator.createNewAssistedDialingMediator( getAssistedDialingTelephonyManager(context, builder), context); - if (BuildCompat.isAtLeastP()) { - builder.getOutgoingCallExtras().putBoolean(TelephonyManagerCompat.USE_ASSISTED_DIALING, true); - } + // Checks the platform is N+ and meets other pre-flight checks. if (!assistedDialingMediator.isPlatformEligible()) { return; |