Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d5e04f4 authored by wangqi's avatar wangqi Committed by Copybara-Service
Browse files

Add toast message when RTT request failed.

Bug: 79522243
Test: manual
PiperOrigin-RevId: 198598685
Change-Id: I05144ec734827b29e89bbba5070c9cb0ab06c215
parent 784a7cda
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@
  <!-- Displayed when handover from WiFi to Lte occurs during a video call -->
  <string name="video_call_lte_to_wifi_handover_toast">Continuing call using Wi\u2011Fi\u2026</string>

  <!-- Displayed when RTT upgrade request failed -->
  <string name="rtt_call_not_available_toast">RTT not available for this call</string>

  <!-- String used to build a phone number type and phone number string.
     Example: Mobile 650-555-1212  -->
  <string name="call_subject_type_and_number">
+1 −0
Original line number Diff line number Diff line
@@ -315,6 +315,7 @@ public class DialerCall implements VideoTechListener, StateChangedListener, Capa
        @Override
        public void onRttInitiationFailure(Call call, int reason) {
          LogUtil.v("TelecomCallCallback.onRttInitiationFailure", "reason=%d", reason);
          Toast.makeText(context, R.string.rtt_call_not_available_toast, Toast.LENGTH_LONG).show();
          update();
        }