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

Commit 15887c74 authored by twyen's avatar twyen Committed by Copybara-Service
Browse files

Update emergency wifi calling string

Set content description for dialpad hint

TEST=manual.
Bug: 77653768,78286138
Test: manual.
PiperOrigin-RevId: 194110061
Change-Id: If0adf10aedf606ed4a6fa1bbff23a887c3777d48
parent 203d5097
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -470,11 +470,13 @@ public class DialpadFragment extends Fragment
    }

    if (shouldShowEmergencyCallWarning(getContext())) {
      digitsHint.setText(
          getContext().getString(R.string.dialpad_hint_emergency_calling_not_available));
      String hint = getContext().getString(R.string.dialpad_hint_emergency_calling_not_available);
      digits.setContentDescription(hint);
      digitsHint.setText(hint);
      digitsHint.setVisibility(View.VISIBLE);
      return;
    }
    digits.setContentDescription(null);
    digitsHint.setVisibility(View.GONE);
  }

+2 −2
Original line number Diff line number Diff line
@@ -97,9 +97,9 @@
       Ignored if empty. -->
  <string name="config_prohibited_phone_number_regexp" translatable="false"></string>

  <!-- Warning hint shown in the dialpad input field when emergency call (911, etc.) cannot be made.
  <!-- Warning hint shown in the dialpad input field when emergency call (911, etc.) cannot be made over wifi.
       [CHAR_LIMIT=60] -->
  <string name="dialpad_hint_emergency_calling_not_available">Emergency calling not available</string>
  <string name="dialpad_hint_emergency_calling_not_available">Can\'t make emergency calls over WiFi</string>

  <!-- Dialog message which is shown when the user tries to make a phone call
       to prohibited phone numbers [CHAR LIMIT=NONE] -->