Loading res/values/strings.xml +2 −0 Original line number Original line Diff line number Diff line Loading @@ -12892,6 +12892,8 @@ <string name="sim_action_reboot">Restart</string> <string name="sim_action_reboot">Restart</string> <!-- Button on a dialog to reject SIM operations. [CHAR LIMIT=30] --> <!-- Button on a dialog to reject SIM operations. [CHAR LIMIT=30] --> <string name="sim_action_no_thanks">No thanks</string> <string name="sim_action_no_thanks">No thanks</string> <!-- Button text to cancel operations proposed by a sim operation dialog [CHAR LIMIT=20] --> <string name="sim_action_cancel">Cancel</string> <!-- Button which will disconnect the user from one mobile network and immediately connect to another. [CHAR LIMIT=30] --> <!-- Button which will disconnect the user from one mobile network and immediately connect to another. [CHAR LIMIT=30] --> <string name="sim_switch_button">Switch</string> <string name="sim_switch_button">Switch</string> <!-- Title of DSDS activation failure dialog [CHAR LIMIT=40] --> <!-- Title of DSDS activation failure dialog [CHAR LIMIT=40] --> src/com/android/settings/network/telephony/ToggleSubscriptionDialogActivity.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -338,7 +338,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc getString(R.string.sim_action_restart_title), getString(R.string.sim_action_restart_title), getString(R.string.sim_action_enable_dsds_text), getString(R.string.sim_action_enable_dsds_text), getString(R.string.sim_action_reboot), getString(R.string.sim_action_reboot), getString(R.string.cancel)); getString(R.string.sim_action_cancel)); } } /* Displays the SIM toggling confirmation dialog. */ /* Displays the SIM toggling confirmation dialog. */ Loading @@ -359,7 +359,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc title, title, null, null, getString(R.string.yes), getString(R.string.yes), getString(R.string.cancel)); getString(R.string.sim_action_cancel)); } } private void showEnableSimConfirmDialog() { private void showEnableSimConfirmDialog() { Loading @@ -384,7 +384,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc getSwitchSubscriptionTitle(), getSwitchSubscriptionTitle(), getSwitchDialogBodyMsg(activeSub, isBetweenEsim), getSwitchDialogBodyMsg(activeSub, isBetweenEsim), getSwitchDialogPosBtnText(), getSwitchDialogPosBtnText(), getString(android.R.string.cancel)); getString(R.string.sim_action_cancel)); } } private void showNonSwitchSimConfirmDialog() { private void showNonSwitchSimConfirmDialog() { Loading @@ -395,7 +395,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc getEnableSubscriptionTitle(), getEnableSubscriptionTitle(), null /* msg */, null /* msg */, getString(R.string.yes), getString(R.string.yes), getString(android.R.string.cancel)); getString(R.string.sim_action_cancel)); } } private String getSwitchDialogPosBtnText() { private String getSwitchDialogPosBtnText() { Loading Loading
res/values/strings.xml +2 −0 Original line number Original line Diff line number Diff line Loading @@ -12892,6 +12892,8 @@ <string name="sim_action_reboot">Restart</string> <string name="sim_action_reboot">Restart</string> <!-- Button on a dialog to reject SIM operations. [CHAR LIMIT=30] --> <!-- Button on a dialog to reject SIM operations. [CHAR LIMIT=30] --> <string name="sim_action_no_thanks">No thanks</string> <string name="sim_action_no_thanks">No thanks</string> <!-- Button text to cancel operations proposed by a sim operation dialog [CHAR LIMIT=20] --> <string name="sim_action_cancel">Cancel</string> <!-- Button which will disconnect the user from one mobile network and immediately connect to another. [CHAR LIMIT=30] --> <!-- Button which will disconnect the user from one mobile network and immediately connect to another. [CHAR LIMIT=30] --> <string name="sim_switch_button">Switch</string> <string name="sim_switch_button">Switch</string> <!-- Title of DSDS activation failure dialog [CHAR LIMIT=40] --> <!-- Title of DSDS activation failure dialog [CHAR LIMIT=40] -->
src/com/android/settings/network/telephony/ToggleSubscriptionDialogActivity.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -338,7 +338,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc getString(R.string.sim_action_restart_title), getString(R.string.sim_action_restart_title), getString(R.string.sim_action_enable_dsds_text), getString(R.string.sim_action_enable_dsds_text), getString(R.string.sim_action_reboot), getString(R.string.sim_action_reboot), getString(R.string.cancel)); getString(R.string.sim_action_cancel)); } } /* Displays the SIM toggling confirmation dialog. */ /* Displays the SIM toggling confirmation dialog. */ Loading @@ -359,7 +359,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc title, title, null, null, getString(R.string.yes), getString(R.string.yes), getString(R.string.cancel)); getString(R.string.sim_action_cancel)); } } private void showEnableSimConfirmDialog() { private void showEnableSimConfirmDialog() { Loading @@ -384,7 +384,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc getSwitchSubscriptionTitle(), getSwitchSubscriptionTitle(), getSwitchDialogBodyMsg(activeSub, isBetweenEsim), getSwitchDialogBodyMsg(activeSub, isBetweenEsim), getSwitchDialogPosBtnText(), getSwitchDialogPosBtnText(), getString(android.R.string.cancel)); getString(R.string.sim_action_cancel)); } } private void showNonSwitchSimConfirmDialog() { private void showNonSwitchSimConfirmDialog() { Loading @@ -395,7 +395,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc getEnableSubscriptionTitle(), getEnableSubscriptionTitle(), null /* msg */, null /* msg */, getString(R.string.yes), getString(R.string.yes), getString(android.R.string.cancel)); getString(R.string.sim_action_cancel)); } } private String getSwitchDialogPosBtnText() { private String getSwitchDialogPosBtnText() { Loading