From 6e999c50041772ee9f0f211c61173df1371747b3 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Tue, 15 Dec 2020 13:09:02 -0800 Subject: [PATCH] Mark emergency gesture container view unimportant for a11y. Similar to change I415090fb8601bc4cb129999a50ac35e045ef7830, the container has nothing meaningful for accessibility tools. Marking it unimportant forces children view's accessibility events to show up. Fix: 175515538 Fix: 175515122 Test: manual Change-Id: Ib9c9b67622f7ea67368dc3fe04c78c984b70c7e5 --- res/layout/emergency_gesture_switch_bar.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/emergency_gesture_switch_bar.xml b/res/layout/emergency_gesture_switch_bar.xml index 30c32f5786e..25246010645 100644 --- a/res/layout/emergency_gesture_switch_bar.xml +++ b/res/layout/emergency_gesture_switch_bar.xml @@ -20,7 +20,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" android:layout_width="match_parent" - android:orientation="vertical"> + android:orientation="vertical" + android:importantForAccessibility="no">