diff options
author | Tyler Gunn <tgunn@google.com> | 2016-05-19 13:11:34 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2016-05-19 13:11:34 -0700 |
commit | a4a838a29e5c61e06e2e282efa104a89aaa9129c (patch) | |
tree | 8ac302f98b7d2cbee8837770cf7b6bae7feba6f3 /InCallUI/src/com/android | |
parent | 9434d8df23f5077e2f45342b49d5bd84d347b90f (diff) |
Ensure external calls do not go through call blocking code.
Note: This is already submit in google3.
Bug: 27458894
Change-Id: I45a7ac7d4e94722fd52c2f83be073f1e90d7b66c
Diffstat (limited to 'InCallUI/src/com/android')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 38507eef9..c3ca6de85 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -534,6 +534,9 @@ public class InCallPresenter implements CallList.Listener, Log.i(this, "Not attempting to block incoming call due to recent emergency call"); return false; } + if (call.getDetails().hasProperty(CallSdkCompat.Details.PROPERTY_IS_EXTERNAL_CALL)) { + return false; + } return true; } |