From 1e0585f3f789e4ea28f31352eced59c73cf8b373 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 24 Jun 2015 17:07:47 -0700 Subject: Make switch access work for incoming call screen An accessibility click on the glowpad now exposes the touch targets as virtual views to accessibility services. Performing an accessibility click on each virtual view performs the same function as swiping towards that target. Mark contact photo as unimportant for accessibility, it doesn't provide any useful context or functionality. Bug: 19075527 Change-Id: I2e980394175bf77379f5cb99126dd5970e0f0555 --- InCallUI/res/layout/call_card_fragment.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'InCallUI/res') diff --git a/InCallUI/res/layout/call_card_fragment.xml b/InCallUI/res/layout/call_card_fragment.xml index 537eb5119..dabba7662 100644 --- a/InCallUI/res/layout/call_card_fragment.xml +++ b/InCallUI/res/layout/call_card_fragment.xml @@ -74,7 +74,7 @@ android:layout_gravity="center_vertical" android:gravity="top|center_horizontal" android:scaleType="centerCrop" - android:contentDescription="@string/contactPhoto" + android:importantForAccessibility="no" android:background="@android:color/white" android:src="@drawable/img_no_image_automirrored" /> -- cgit v1.2.3