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

Commit c670db6e authored by Yiyi Shen's avatar Yiyi Shen Committed by Android (Google) Code Review
Browse files

Merge "Update talkback text for device details gear button" into main

parents 5a622211 1219568e
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);