Make contentDescription to null for permission icon and device icon
Make contentDescription to null for permission icon and device icon since these icons do not need the talkback and they are not relevant to the items that's selected Test: cts test Bug: 243970767 Change-Id: Id60153e4022a4963a2660507e2d2316c9536a226
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:tint="@android:color/system_accent1_600"/>
|
||||
android:tint="@android:color/system_accent1_600"
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@null"/>
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/text1"
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:contentDescription="Permission Icon"/>
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@null"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -103,7 +103,7 @@ public class CompanionDeviceDiscoveryService extends Service {
|
||||
|
||||
private final Runnable mTimeoutRunnable = this::timeout;
|
||||
|
||||
private boolean mStopAfterFirstMatch;;
|
||||
private boolean mStopAfterFirstMatch;
|
||||
|
||||
/**
|
||||
* A state enum for devices' discovery.
|
||||
|
||||
Reference in New Issue
Block a user