Use non-capitalized texts for "Me" header
This matters in accessibility mode.
The other section index should be already capitalized, so using
setAllCaps() here shouldn't affect them badly.
Bug: 5255237
Change-Id: Ibcffdad9c8e9a74d4db50bc83e6a8ca2415cc495
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c22d1c6..047c4aa 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1796,8 +1796,9 @@
<!-- The string used to represent an unknown location for a phone number in the call log [CHAR LIMIT=3] -->
<string name="call_log_empty_gecode">-</string>
- <!-- String describing the text on the header of the profile contact in the contacts list [CHAR LIMIT=20] -->
- <string name="user_profile_contacts_list_header">ME</string>
+ <!-- String describing the text on the header of the profile contact in the contacts list
+ This may be programatically capitalized. [CHAR LIMIT=20] -->
+ <string name="user_profile_contacts_list_header" msgid="9154761216179882405">Me</string>
<!-- Header label in the contact editor for a profile that is local to the device only (and not associated with any account) [CHAR LIMIT=25] -->
<string name="local_profile_title">My local profile</string>
diff --git a/src/com/android/contacts/list/ContactListItemView.java b/src/com/android/contacts/list/ContactListItemView.java
index 7e0940f..7e81dcd 100644
--- a/src/com/android/contacts/list/ContactListItemView.java
+++ b/src/com/android/contacts/list/ContactListItemView.java
@@ -673,6 +673,7 @@
mHeaderTextView.setText(title);
mHeaderTextView.setVisibility(View.VISIBLE);
mHeaderDivider.setVisibility(View.VISIBLE);
+ mHeaderTextView.setAllCaps(true);
mHeaderVisible = true;
} else {
if (mHeaderTextView != null) {