Make SIM Selection hint multi-line
SIM names can be really long and might be truncated if the template placed it at the end of the string.
Also removed the char limit on the hint.
TEST=TAP
Bug: 69675796,72618783
Test: TAP
PiperOrigin-RevId: 194163675
Change-Id: I8ee43ce87da80bc6438d2eaad480c63a0d89fbe2
diff --git a/java/com/android/contacts/common/res/layout/select_account_list_item.xml b/java/com/android/contacts/common/res/layout/select_account_list_item.xml
index bf52d6f..98e7c54 100644
--- a/java/com/android/contacts/common/res/layout/select_account_list_item.xml
+++ b/java/com/android/contacts/common/res/layout/select_account_list_item.xml
@@ -61,7 +61,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
- android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/dialer_secondary_text_color"
android:visibility="gone"/>
diff --git a/java/com/android/dialer/precall/impl/res/values/strings.xml b/java/com/android/dialer/precall/impl/res/values/strings.xml
index 3691271..5e7ddd3 100644
--- a/java/com/android/dialer/precall/impl/res/values/strings.xml
+++ b/java/com/android/dialer/precall/impl/res/values/strings.xml
@@ -28,6 +28,6 @@
<!-- Hint to show under a SIM entry when selecting SIM for call on a multi-SIM device, when the
call cannot be placed with the SIM because there is already a call on the other SIM,
- [CHAR LIMIT=40]-->
+ [CHAR LIMIT=NONE]-->
<string name="pre_call_select_phone_account_hint_other_sim_in_use">Not available while using <xliff:g example="SIM 1" id="other_sim">%1$s</xliff:g></string>
</resources>
\ No newline at end of file