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

Commit 0aac9a9d authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

Merge "Fixed A11y issues" into main

parents 1e668fd3 7cbd5cac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -41,7 +41,8 @@
            android:layout_centerHorizontal="true"
            android:textSize="18sp"
            android:textColor="@android:color/white"
            android:text="@string/fingerprint_check_enroll_touch_sensor"/>
            android:text="@string/fingerprint_check_enroll_touch_sensor"
            android:accessibilityLiveRegion="assertive"/>

    </com.android.settings.biometrics.fingerprint.UdfpsCheckEnrolledView>
</RelativeLayout>
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -1042,6 +1042,8 @@
    <string name="security_settings_fingerprint_enroll_introduction_no_thanks">Not now</string>
    <!-- Button text to agree the consent and continue to the next screen from the introduction [CHAR LIMIT=22] -->
    <string name="security_settings_fingerprint_enroll_introduction_agree">I agree</string>
    <!-- The content description for rename a fingerprint. [CHAR LIMIT=100] -->
    <string name="security_settings_fingerprint_rename_description">Double tap to rename</string>
    <!-- Title of dialog shown when the user tries to skip setting up fingerprint after adding lock screen during initial setup. [CHAR LIMIT=30] -->
    <string name="setup_fingerprint_enroll_skip_title">Skip fingerprint?</string>
    <!-- Body text of dialog shown when the user tries to skip setting up fingerprint after adding lock screen during initial setup [CHAR LIMIT=NONE] -->
+6 −0
Original line number Diff line number Diff line
@@ -2016,8 +2016,14 @@ public class FingerprintSettings extends SubSettings {
        public void onBindViewHolder(PreferenceViewHolder view) {
            super.onBindViewHolder(view);
            mView = view.itemView;
            final TextView title = (TextView) view.findViewById(android.R.id.title);
            mDeleteView = view.itemView.findViewById(R.id.delete_button);
            if (mFingerprint != null) {
                if (title != null) {
                    title.setContentDescription(
                            mFingerprint.getName().toString() + " " + getContext().getString(
                                    R.string.security_settings_fingerprint_rename_description));
                }
                mDeleteView.setContentDescription(
                        mDeleteView.getContentDescription()
                                + " " + mFingerprint.getName().toString());