commit | 7f177801eb8d2f26b6cdcf90b16f3035ba6852a9 | [log] [tgz] |
---|---|---|
author | Jin Dong <jin.x.dong@sony.com> | Thu Jul 20 15:15:34 2023 +0200 |
committer | David Magno <david.magno@sony.com> | Thu Jul 20 15:15:34 2023 +0200 |
tree | eb9025ab04660cc21ec81c861c90af44132e58b2 | |
parent | 24db817a65ee96ed4631d453c0cfe55088bf3c59 [diff] |
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
diff --git a/res/layout/bluetooth_find_broadcast_password_dialog.xml b/res/layout/bluetooth_find_broadcast_password_dialog.xml index f9df3f5..938f103 100644 --- a/res/layout/bluetooth_find_broadcast_password_dialog.xml +++ b/res/layout/bluetooth_find_broadcast_password_dialog.xml
@@ -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