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

Commit 1219568e authored by Yiyi Shen's avatar Yiyi Shen
Browse files

Update talkback text for device details gear button

Announce "Device name + Configure device detail. Double tap to activate"
instead of "Settings"

Flag: EXEMPT small fix
Bug: 379994439
Test: manual
Change-Id: I8a0d620c2aba0ada559ea3617535413bed8eee48
parent 0ca6d534
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -338,6 +338,9 @@ public final class BluetoothDevicePreference extends GearPreference {

        if (mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
            ImageView deviceDetails = (ImageView) view.findViewById(R.id.settings_button);
            deviceDetails.setContentDescription(
                    getContext().getResources().getString(
                            R.string.device_detail_icon_content_description, getTitle()));

            if (deviceDetails != null) {
                deviceDetails.setOnClickListener(this);