From 9b7f0bbf95bfa59a05064d7cb173e4f5f0f078bd Mon Sep 17 00:00:00 2001 From: tom hsu Date: Wed, 26 Feb 2025 11:03:42 +0000 Subject: [PATCH] Modify string to match the design. Flag: EXEMPT bug fix Bug: b/397958254 Test: Manual test. Change-Id: Ic424e30ce4c44ea63ee650bd6c1bcafcd60070a4 --- res/values/strings.xml | 6 +++--- .../settings/network/telephony/SatelliteSetting.java | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 3679ba403ab..070d0308f53 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -12574,7 +12574,7 @@ Your %1$s account - Messaging is included with your account + Satellite messaging is included with your account Satellite messaging isn\u2019t included with your account @@ -12590,9 +12590,9 @@ You can text anyone, including emergency services. Your phone will reconnect to a mobile network when available. - %1$s may take longer and is available only in some areas. Weather and certain structures may affect your satellite connection. Calling by satellite isn\u2019t available. Emergency calls may still connect.\n\nIt may take some time for account changes to show in Settings. Contact %2$s for details. + A satellite connection may be slower and is available only in some areas. Weather and certain structures may affect the connection. Calling by satellite isn\u2019t available. Emergency calls may still connect.\n\nIt may take some time for account changes to show in Settings. Contact %1$s for details. - %1$s may take longer and is available only in some areas. Weather and certain structures may affect your satellite connection. Calling by satellite isn\u2019t available. Emergency calls may still connect. Texting with emergency services may not be available in all areas.\n\nIt may take some time for account changes to show in Settings. Contact %2$s for details. + A satellite connection may be slower and is available only in some areas. Weather and certain structures may affect the connection. Calling by satellite isn\u2019t available. Emergency calls may still connect. Texting with emergency services may not be available in all areas.\n\nIt may take some time for account changes to show in Settings. Contact %1$s for details. More about %1$s diff --git a/src/com/android/settings/network/telephony/SatelliteSetting.java b/src/com/android/settings/network/telephony/SatelliteSetting.java index f99011d1ede..7fa2ad88db8 100644 --- a/src/com/android/settings/network/telephony/SatelliteSetting.java +++ b/src/com/android/settings/network/telephony/SatelliteSetting.java @@ -236,8 +236,7 @@ public class SatelliteSetting extends RestrictedDashboardFragment { int summary = mConfigBundle.getBoolean(KEY_EMERGENCY_MESSAGING_SUPPORTED_BOOL) ? R.string.satellite_setting_summary_more_information : R.string.satellite_setting_summary_more_information_no_emergency_messaging; - footerPreference.setSummary(getResources().getString(summary, - getSubjectString(), mSimOperatorName)); + footerPreference.setSummary(getResources().getString(summary, mSimOperatorName)); final String[] link = new String[1]; link[0] = readSatelliteMoreInfoString();