From fb2d059c6d938784d09c035c58fa2122df425432 Mon Sep 17 00:00:00 2001 From: Stanley Wang Date: Wed, 2 Oct 2019 14:33:24 +0800 Subject: [PATCH] Fix a11y issue for the Preferences in the "Model & hardware" Talkback should not speak "double-tap to activate". Set the preference selectable attribute to false. Test: manual Fixes: 139709361 Change-Id: Ifc3dfcb25fa7aa74f71c79d182668bcfbae31bee --- res/xml/hardware_info.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/res/xml/hardware_info.xml b/res/xml/hardware_info.xml index 2fd58ff9aea..4ed914d0ade 100644 --- a/res/xml/hardware_info.xml +++ b/res/xml/hardware_info.xml @@ -27,6 +27,7 @@ android:key="hardware_info_device_model" android:title="@string/model_info" android:summary="@string/summary_placeholder" + android:selectable="false" settings:controller="com.android.settings.deviceinfo.hardwareinfo.DeviceModelPreferenceController" settings:enableCopying="true"/> @@ -35,6 +36,7 @@ android:key="hardware_info_device_serial" android:title="@string/status_serial_number" android:summary="@string/summary_placeholder" + android:selectable="false" settings:controller="com.android.settings.deviceinfo.hardwareinfo.SerialNumberPreferenceController" settings:enableCopying="true"/> @@ -43,7 +45,8 @@ android:key="hardware_info_device_revision" android:title="@string/hardware_revision" android:summary="@string/summary_placeholder" + android:selectable="false" settings:controller="com.android.settings.deviceinfo.hardwareinfo.HardwareRevisionPreferenceController" settings:enableCopying="true"/> - \ No newline at end of file +