Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 803062e0 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudioTestApp: Allow for short broadcast codes

Bug: 240929404
Tag: #feature
Test: make LeAudioTestApp
Change-Id: I96f7eb8fb3318810d93f740954b78523ffb0a3bc
parent a2d7320b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -112,7 +112,8 @@ public class BroadcastScanActivity extends AppCompatActivity {
                                       + broadcastId, Toast.LENGTH_SHORT).show();
                        metadata = builder.setEncrypted(false).build();
                    } else {
                        if (code_input_text.getText().length() != 16) {
                        if ((code_input_text.getText().length() > 16) ||
                                (code_input_text.getText().length() < 4)) {
                            Toast.makeText(recyclerView.getContext(),
                                           "Invalid Broadcast code length",
                                           Toast.LENGTH_SHORT).show();