Merge "Change default sim selection text in sim settings ui." into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6d0059c3f9
@@ -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] -->
|
||||
<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] -->
|
||||
<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] -->
|
||||
<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.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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user