Crash occurs when entering a Bluetooth broadcast password

BT crashes when entering a password longer than 16 characters.
Limit the password length to 16 characters.

Fixes: 292053940
Test: Manual
Change-Id: I1ed2cfc33c3b0dbdcf2a9c865b748b6376bce1bc
This commit is contained in:
Jin Dong
2023-07-20 15:15:34 +02:00
committed by David Magno
parent 24db817a65
commit 7f177801eb

View File

@@ -31,6 +31,7 @@
android:id="@+id/broadcast_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLength="16"
android:minHeight="48dp"
android:textAlignment="viewStart"/>
<TextView