OSDN Git Service

Use better string in dialog asking which SIM to use for SMS
authorAntony Sargent <asargent@google.com>
Thu, 28 Mar 2019 17:25:00 +0000 (10:25 -0700)
committerAntony Sargent <asargent@google.com>
Thu, 28 Mar 2019 17:31:36 +0000 (10:31 -0700)
Right now when you have a dual-SIM device but no default set for which
one to use for SMS, when you go to try and send an SMS you'll get a
dialog asking which SIM to use with the generic string of "Select a SIM
card". We recently added a more specific string for this in a separate
CL, which reads "Select a SIM card for SMS". This CL switches the code
to use that more specific string.

Bug: 129021763
Test: compile / manual
Change-Id: I7d12a7191de23366b0a6b6888021e57ff9ddced9

src/com/android/settings/sim/SimDialogActivity.java

index 13148c8..487dace 100644 (file)
@@ -254,7 +254,7 @@ public class SimDialogActivity extends Activity {
                 builder.setTitle(R.string.select_sim_for_calls);
                 break;
             case SMS_PICK:
-                builder.setTitle(R.string.sim_card_select_title);
+                builder.setTitle(R.string.select_sim_for_sms);
                 break;
             default:
                 throw new IllegalArgumentException("Invalid dialog type "