| Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java
|
| index 5b0302edb47de141f2366ba3478425ff59934dfc..7d3e71c6b2da1d4e1a9db7c825f87ae47eb8efd0 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java
|
| @@ -14,6 +14,7 @@ import android.widget.ArrayAdapter;
|
| import android.widget.Button;
|
| import android.widget.EditText;
|
| import android.widget.Spinner;
|
| +import android.widget.TextView;
|
|
|
| import org.chromium.chrome.R;
|
| import org.chromium.chrome.browser.autofill.PersonalDataManager;
|
| @@ -58,7 +59,10 @@ public class AutofillProfileEditor extends AutofillEditorBase {
|
| mEmailText = (EditText) v.findViewById(R.id.email_address_edit);
|
| mEmailLabel = (CompatibilityTextInputLayout) v.findViewById(R.id.email_address_label);
|
| mWidgetRoot = (ViewGroup) v.findViewById(R.id.autofill_profile_widget_root);
|
| - mCountriesDropdown = (Spinner) v.findViewById(R.id.countries);
|
| + mCountriesDropdown = (Spinner) v.findViewById(R.id.spinner);
|
| +
|
| + TextView countriesLabel = (TextView) v.findViewById(R.id.spinner_label);
|
| + countriesLabel.setText(v.getContext().getString(R.string.autofill_profile_editor_country));
|
|
|
| mAutofillProfileBridge = new AutofillProfileBridge();
|
|
|
| @@ -208,7 +212,6 @@ public class AutofillProfileEditor extends AutofillEditorBase {
|
| fieldFloatLabel.setHint(field.label);
|
|
|
| EditText fieldEditText = fieldFloatLabel.getEditText();
|
| - fieldEditText.setContentDescription(field.label);
|
| fieldEditText.addTextChangedListener(this);
|
| if (field.id == AddressField.STREET_ADDRESS) {
|
| fieldEditText.setSingleLine(false);
|
|
|