Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7933743 authored by Tingting Wang's avatar Tingting Wang
Browse files

Change accessibility message for account picker.

BUG 25324831
Change-Id: Ib20e7b2f0e581e25942b9dea993617642d813eb5
parent 4f5770c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -813,6 +813,9 @@
    <!-- Label for the account selector to indicate which account a contact will be saved to. [CHAR LIMIT=30] -->
    <string name="compact_editor_account_selector_title">Saving to</string>

    <!-- Content description for the account selector to indicate which account a contact will be saved to. [CHAR LIMIT=NONE] -->
    <string name="compact_editor_account_selector_description">Currently saving to <xliff:g id="account_name">%s</xliff:g>. Double-tap to pick a different account.</string>

    <!-- Label for the linked contacts selector which indicates the number of raw contacts which have been linked together into the aggregate being viewed. [CHAR LIMIT=40] -->
    <plurals name="compact_editor_linked_contacts_selector_title">
        <item quantity="one">Linked contact</item>
+2 −3
Original line number Diff line number Diff line
@@ -848,9 +848,8 @@ public class CompactRawContactsEditorView extends LinearLayout implements View.O
                R.string.compact_editor_account_selector_title);
        mAccountSelectorType.setText(selectorTitle);

        mAccountSelectorContainer.setContentDescription(
                EditorUiUtils.getAccountInfoContentDescription(
                        accountInfo.first, selectorTitle));
        mAccountSelectorContainer.setContentDescription(getResources().getString(
                R.string.compact_editor_account_selector_description, accountInfo.first));

        mAccountSelectorContainer.setOnClickListener(new View.OnClickListener() {
            @Override