Update strings for new settings design

This updates the strings for the new settings
design as per the new spec.

Screenshots:
https://hsv.googleplex.com/5257279109595136
https://hsv.googleplex.com/5049022822744064
https://hsv.googleplex.com/6177842804031488

Change-Id: I6ff705d2bfab9de4ca2e8d49763b5405e3d2d2c3
Test: Manual test
Bug: 300979487
This commit is contained in:
Becca Hughes
2024-01-10 21:36:33 +00:00
parent a8fa24ccd5
commit 2417c84a77
3 changed files with 50 additions and 4 deletions

View File

@@ -899,8 +899,18 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
return new AlertDialog.Builder(getActivity())
.setTitle(getContext().getString(R.string.credman_error_message_title))
.setMessage(getContext().getString(R.string.credman_error_message))
.setTitle(
getContext()
.getString(
Flags.newSettingsUi()
? R.string.credman_limit_error_msg_title
: R.string.credman_error_message_title))
.setMessage(
getContext()
.getString(
Flags.newSettingsUi()
? R.string.credman_limit_error_msg
: R.string.credman_error_message))
.setPositiveButton(android.R.string.ok, this)
.create();
}