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:
Sunny Goyal
2016-08-04 17:55:35 -07:00
parent 50941fb8a6
commit 4829a88ed4
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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">
+1
View File
@@ -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">
+1
View File
@@ -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">