Disable accessibility focus on the instruction video in magnification
gesture screen.
Test: Manually built and tested with Bullhead
Bug: 30898790
Change-Id: I399e2b9be33ebf6dd5100705eb5f2ba5c5cc98b1
diff --git a/res/layout/video_preference.xml b/res/layout/video_preference.xml
index 5f7116d..fe7f26f 100644
--- a/res/layout/video_preference.xml
+++ b/res/layout/video_preference.xml
@@ -24,13 +24,15 @@
android:layout_height="wrap_content"
android:src="@drawable/accessibility_screen_magnification_background"
android:scaleType="fitXY"
- android:adjustViewBounds="true" />
+ android:adjustViewBounds="true"
+ android:importantForAccessibility="noHideDescendants" />
<VideoView
android:id="@+id/video"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/video_background"
- android:layout_centerHorizontal="true" />
+ android:layout_centerHorizontal="true"
+ android:importantForAccessibility="noHideDescendants" />
</RelativeLayout>
\ No newline at end of file