Change default sim selection text in sim settings ui.
Bug: 18611090 Change-Id: Ifd2c26e02f1051536c4113b4351cefa51c2d5210
This commit is contained in:
@@ -5573,7 +5573,7 @@
|
|||||||
<!-- This is a divider in the SIM cards preferences that is the header of various settings where the user chooses which SIM to use for phone calls, data, and SMS messages [CHAR LIMIT=50] -->
|
<!-- This is a divider in the SIM cards preferences that is the header of various settings where the user chooses which SIM to use for phone calls, data, and SMS messages [CHAR LIMIT=50] -->
|
||||||
<string name="sim_pref_divider">Preferred SIM for</string>
|
<string name="sim_pref_divider">Preferred SIM for</string>
|
||||||
<!-- When a user chooses this "Ask first" preference for the SIM to use for phone calls, they'll be prompted to choose a SIM every time they initiate a call [CHAR LIMIT=50] -->
|
<!-- When a user chooses this "Ask first" preference for the SIM to use for phone calls, they'll be prompted to choose a SIM every time they initiate a call [CHAR LIMIT=50] -->
|
||||||
<string name="sim_calls_ask_first_prefs_title">Ask everytime</string>
|
<string name="sim_calls_ask_first_prefs_title">Ask every time</string>
|
||||||
<!-- When a SIM preference hasn't been selected yet, this string is displayed as the pref summary until the user chooses a SIM subscription from the preference list [CHAR LIMIT=50] -->
|
<!-- When a SIM preference hasn't been selected yet, this string is displayed as the pref summary until the user chooses a SIM subscription from the preference list [CHAR LIMIT=50] -->
|
||||||
<string name="sim_selection_required_pref">Selection required</string>
|
<string name="sim_selection_required_pref">Selection required</string>
|
||||||
|
|
||||||
|
@@ -247,7 +247,7 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
|
|||||||
|
|
||||||
simPref.setTitle(R.string.calls_title);
|
simPref.setTitle(R.string.calls_title);
|
||||||
simPref.setSummary(phoneAccount == null
|
simPref.setSummary(phoneAccount == null
|
||||||
? getResources().getString(R.string.sim_selection_required_pref)
|
? getResources().getString(R.string.sim_calls_ask_first_prefs_title)
|
||||||
: (String)telecomManager.getPhoneAccount(phoneAccount).getLabel());
|
: (String)telecomManager.getPhoneAccount(phoneAccount).getLabel());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user