Merge "String character limit and description updates" into ub-contactsdialer-h-dev
diff --git a/res/layout/fragment_sim_import.xml b/res/layout/fragment_sim_import.xml
index 6688898..168bf22 100644
--- a/res/layout/fragment_sim_import.xml
+++ b/res/layout/fragment_sim_import.xml
@@ -54,6 +54,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
+ android:focusable="true"
android:minHeight="48dp"
android:orientation="horizontal"
android:paddingEnd="@dimen/activity_horizontal_margin"
diff --git a/src/com/android/contacts/editor/AccountHeaderPresenter.java b/src/com/android/contacts/editor/AccountHeaderPresenter.java
index 440df94..61a440f 100644
--- a/src/com/android/contacts/editor/AccountHeaderPresenter.java
+++ b/src/com/android/contacts/editor/AccountHeaderPresenter.java
@@ -189,6 +189,9 @@
UiClosables.closeQuietly(popup);
final AccountWithDataSet newAccount = adapter.getItem(position);
setCurrentAccount(newAccount);
+ // Make sure the new selection will be announced once it's changed
+ mAccountHeaderContainer.setAccessibilityLiveRegion(
+ View.ACCESSIBILITY_LIVE_REGION_POLITE);
}
});
mAccountHeaderContainer.post(new Runnable() {