summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2017-07-19 11:50:32 -0700
committerEric Erfanian <erfanian@google.com>2017-07-25 16:43:18 +0000
commit0c408e0e3c82bff80871c3a3f2de5d37bc398a42 (patch)
tree662604bf826848ba407f6b631de41a488ae8d687
parentc0f9a04f7a3ae23c65ba9bd41ff8c8aad84a473f (diff)
Removed duplicate quick contact string.
Quick contact descriptions are added in the ContactPhotoManager, so we can remove this string duplicate and its only use. Test: manual talkback testing PiperOrigin-RevId: 162514532 Change-Id: Ic8345a30b6d69017e72fffa1469b96b10e69cdf8
-rw-r--r--java/com/android/contacts/common/res/values/strings.xml7
-rw-r--r--java/com/android/dialer/calldetails/res/layout/contact_container.xml3
2 files changed, 1 insertions, 9 deletions
diff --git a/java/com/android/contacts/common/res/values/strings.xml b/java/com/android/contacts/common/res/values/strings.xml
index 85866f736..f83f16b43 100644
--- a/java/com/android/contacts/common/res/values/strings.xml
+++ b/java/com/android/contacts/common/res/values/strings.xml
@@ -182,13 +182,6 @@
<item quantity="other"><xliff:g id="count">%d</xliff:g> found</item>
</plurals>
- <!-- String describing the text for photo of a contact in a contacts list.
-
- Note: AccessibilityServices use this attribute to announce what the view represents.
- This is especially valuable for views without textual representation like ImageView.
- -->
- <string name="description_quick_contact_for">Quick contact for <xliff:g id="name">%1$s</xliff:g></string>
-
<!-- Shown as the display name for a person when the name is missing or unknown. [CHAR LIMIT=18]-->
<string name="missing_name">(No name)</string>
diff --git a/java/com/android/dialer/calldetails/res/layout/contact_container.xml b/java/com/android/dialer/calldetails/res/layout/contact_container.xml
index 0911291e3..b01a6cc13 100644
--- a/java/com/android/dialer/calldetails/res/layout/contact_container.xml
+++ b/java/com/android/dialer/calldetails/res/layout/contact_container.xml
@@ -31,8 +31,7 @@
android:layout_height="@dimen/call_details_contact_photo_size"
android:layout_centerVertical="true"
android:padding="@dimen/call_details_contact_photo_padding"
- android:focusable="true"
- android:contentDescription="@string/description_quick_contact_for"/>
+ android:focusable="true"/>
<LinearLayout
android:orientation="vertical"