Fix accessibility bugs on Contacts App.
Quick contact and contact editor UI read "View Contact" and
"Edit Contact" now.
BUG 25317096
Change-Id: Ic373f7964276a6b970048557d1d421a4acd6d6fe
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 12d4b0c..daa68ab 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -259,7 +259,7 @@
<activity
android:name=".quickcontact.QuickContactActivity"
- android:label="@string/launcherActivityLabel"
+ android:label="@string/quickContactActivityLabel"
android:theme="@style/Theme.QuickContact"
android:launchMode="singleTop"
android:excludeFromRecents="true"
@@ -344,7 +344,7 @@
<!-- Edit or create a contact with only the most important fields displayed initially. -->
<activity
android:name=".activities.CompactContactEditorActivity"
- android:label="@string/launcherActivityLabel"
+ android:label="@string/editContactActivityLabel"
android:theme="@style/EditorActivityTheme"
android:windowSoftInputMode="stateHidden|adjustResize">
@@ -367,7 +367,7 @@
<!-- Edit or create a contact with all fields displayed. -->
<activity
android:name=".activities.ContactEditorActivity"
- android:label="@string/launcherActivityLabel"
+ android:label="@string/editContactActivityLabel"
android:theme="@style/EditorActivityTheme"
android:windowSoftInputMode="stateHidden|adjustResize"
android:exported="false">
diff --git a/res/values/strings.xml b/res/values/strings.xml
index bacf641..fee9ab8 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -23,6 +23,12 @@
used in the Launcher icon. -->
<string name="launcherActivityLabel">Contacts</string>
+ <!-- Title for Quick Contact activity. -->
+ <string name="quickContactActivityLabel">View Contact</string>
+
+ <!-- Title for Edit Contact activity. -->
+ <string name="editContactActivityLabel">Edit Contact</string>
+
<!-- Directory partition name -->
<string name="contactsList">Contacts</string>