Forcing drag layer to be non accessible.
Setting a touch delegate makes a view to become accessible, if its set to auto. This was making drayLayer accessible causing Talkback to speak out every item on the draglayer when window focus changes Bug: 30670702 Change-Id: Ifcba4c02b124166f9ca69c4244b9d20d7a7acaa5
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
android:id="@+id/drag_layer"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:importantForAccessibility="no"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
<com.android.launcher3.dragndrop.DragLayer
|
||||
android:id="@+id/drag_layer"
|
||||
android:clipChildren="false"
|
||||
android:importantForAccessibility="no"
|
||||
android:clipToPadding="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
android:id="@+id/drag_layer"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:importantForAccessibility="no"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user