summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hall Liu <hallliu@google.com> 2018-08-23 20:17:07 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-08-23 20:17:07 +0000
commit7fe46504bea1d55b83ceec0cb07b4b8d4fd80aeb (patch)
tree556ebf64e320daa5739336be24a6f95b956ade22
parent0d9029cf3cf2979d4f3a44a844b6b9f3b354feaa (diff)
parent4d3c17862ce64bb44cfc5c0f6dc9ddb93d49010d (diff)
Merge "Add EXTRA_SKIP_CALL_FILTERING PhoneAccount extra"
-rw-r--r--telecomm/java/android/telecom/PhoneAccount.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java
index b3a3bf21cd8b..d25e59f11495 100644
--- a/telecomm/java/android/telecom/PhoneAccount.java
+++ b/telecomm/java/android/telecom/PhoneAccount.java
@@ -156,6 +156,18 @@ public final class PhoneAccount implements Parcelable {
"android.telecom.extra.PLAY_CALL_RECORDING_TONE";
/**
+ * Boolean {@link PhoneAccount} extras key (see {@link PhoneAccount#getExtras()} which
+ * indicates whether calls for a {@link PhoneAccount} should skip call filtering.
+ * <p>
+ * If not specified, this will default to false; all calls will undergo call filtering unless
+ * specifically exempted (e.g. {@link Connection#PROPERTY_EMERGENCY_CALLBACK_MODE}.) However,
+ * this may be used to skip call filtering when it has already been performed on another device.
+ * @hide
+ */
+ public static final String EXTRA_SKIP_CALL_FILTERING =
+ "android.telecom.extra.SKIP_CALL_FILTERING";
+
+ /**
* Flag indicating that this {@code PhoneAccount} can act as a connection manager for
* other connections. The {@link ConnectionService} associated with this {@code PhoneAccount}
* will be allowed to manage phone calls including using its own proprietary phone-call