summaryrefslogtreecommitdiff
path: root/java/com/android/dialer
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2017-06-29 13:14:51 -0700
committerBrandon Maxwell <maxwelb@google.com>2017-07-06 14:26:50 -0700
commit69674662dbcf4b88fc4f2b290bd3ab925ae411c8 (patch)
tree5fad58b25e18f6fee78d0bb9315b9fb49156f6de /java/com/android/dialer
parentfca382768e43a66dd5f723c2aba02fcc066c1ca5 (diff)
Add video call not available dialog.
When telecom disconnect the video call with the code of DisconnectCause.ERROR and the DisconnectCause#getReason() of "IMS_ACCESS_BLOCKED", we should show an error dialog to user indicating that video call is not available and providing a option to make a voice call instead. Screenshots: https://screenshot.googleplex.com/YTUGVouoLmj Bug: 33821263 Test: manual, VideoCallNotAvailablePromptTest PiperOrigin-RevId: 160563754 Change-Id: Ie2eb735a92c577b5ae5a5e8b7efa2d699fc964bc
Diffstat (limited to 'java/com/android/dialer')
-rw-r--r--java/com/android/dialer/callintent/call_initiation_type.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/com/android/dialer/callintent/call_initiation_type.proto b/java/com/android/dialer/callintent/call_initiation_type.proto
index 6b85fbf81..32e4e49fc 100644
--- a/java/com/android/dialer/callintent/call_initiation_type.proto
+++ b/java/com/android/dialer/callintent/call_initiation_type.proto
@@ -58,5 +58,7 @@ message CallInitiationType {
MISSED_CALL_NOTIFICATION = 15;
CALL_SUBJECT_DIALOG = 16;
+
+ IMS_VIDEO_BLOCKED_FALLBACK_TO_VOICE = 17;
}
}