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

Commit 199bb50c authored by Alex Shabalin's avatar Alex Shabalin Committed by Alexandr Shabalin
Browse files

Fix A11y label for the device suggestion button.

Removed `contentDescription` to let Talkback announce the visible text.

Fix: 431169530
Test: On a physical device
Flag: com.android.systemui.enable_suggested_device_ui
Change-Id: I2dbfab2aec85f67d26883c0cd3820781547ef197
parent 44f71104
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -158,11 +158,11 @@
            android:maxHeight="@dimen/min_clickable_item_size"
            android:background="@drawable/qs_media_bordered_button"
            android:orientation="horizontal"
            android:visibility="gone"
            android:contentDescription="@string/quick_settings_media_device_label">
            android:visibility="gone">

            <ImageView
                android:id="@+id/device_suggestion_icon"
                android:importantForAccessibility="no"
                android:layout_width="@dimen/qs_seamless_icon_size"
                android:layout_height="@dimen/qs_seamless_icon_size"
                android:layout_gravity="center_vertical"