Merge "Fix accessibility bugs on Contacts App." into ub-contactsdialer-a-dev
am: 3a3e064ab5
* commit '3a3e064ab5d7a459a88d5b6ec53f53099f05c978':
Fix accessibility bugs on Contacts App.
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e484fda..c694a64 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -260,7 +260,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"
@@ -345,7 +345,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">
@@ -368,7 +368,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 cf5f798..1465d83 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>