Fix crash due to over limited length.

Flag: EXEMPT bug fix
Bug: b/388404115
Test: Manual test
Change-Id: I5c72c3c9ca9cb2e4058959abc5a0b4fdd60907bf
This commit is contained in:
tom hsu
2025-02-05 10:04:28 +00:00
committed by Tom Hsu
parent f9b8f5af38
commit a66f9dc362
3 changed files with 10 additions and 8 deletions

View File

@@ -46,7 +46,7 @@
android:layout_height="wrap_content"
android:inputType="text"
android:paddingTop="@dimen/sim_label_padding"
android:maxLength="50"
android:maxLength="@integer/sim_label_max_length"
android:singleLine="true"/>
<TextView

View File

@@ -42,4 +42,6 @@
<integer name="pointer_scale_seek_bar_end">3</integer>
<integer name="max_integer">2147483647</integer>
<integer name="sim_label_max_length">50</integer>
</resources>