diff options
author | 2018-08-23 13:54:29 -0700 | |
---|---|---|
committer | 2018-08-23 13:54:29 -0700 | |
commit | 1d39fb0223dccb95e4ab4181ef48ec3b0e24fa20 (patch) | |
tree | 7d97b5c34fd799f5e1dc2e094306e93f61ad4bb7 | |
parent | 38f9eb50208c78db1deb32670a7a28a89e6f51bc (diff) | |
parent | 1c334634d327a7e7a61d428f8c24ad5aa8ccac5b (diff) |
Merge "Add EXTRA_SKIP_CALL_FILTERING PhoneAccount extra" am: 7fe46504be
am: 1c334634d3
Change-Id: I1d8787b96616007b61f7d5351c55c139143f16b1
-rw-r--r-- | telecomm/java/android/telecom/PhoneAccount.java | 12 |
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 |