[Le Audio] Add test case for the QrCodeScanModeActivity

Bug: 232365943
Test: atest QrCodeScanModeActivityTest
Change-Id: I38db5957ff21608134aed2e26cd9c32f14b78eb9
This commit is contained in:
Zoey Chen
2022-05-16 23:41:59 +08:00
parent f5b2d6bf85
commit 083c13d3f0
2 changed files with 81 additions and 1 deletions

View File

@@ -30,7 +30,15 @@ import com.android.settingslib.R;
import com.android.settingslib.bluetooth.BluetoothBroadcastUtils;
import com.android.settingslib.bluetooth.BluetoothUtils;
//TODO (b/232365943): Add test case for tthe QrCode UI.
/**
* Finding a broadcast through QR code.
*
* To use intent action {@link BluetoothBroadcastUtils#ACTION_BLUETOOTH_LE_AUDIO_QR_CODE_SCANNER},
* specify the bluetooth device sink of the broadcast to be provisioned in
* {@link BluetoothBroadcastUtils#EXTRA_BLUETOOTH_DEVICE_SINK} and check the operation for all
* coordinated set members throughout one session or not by
* {@link BluetoothBroadcastUtils#EXTRA_BLUETOOTH_SINK_IS_GROUP}.
*/
public class QrCodeScanModeActivity extends QrCodeScanModeBaseActivity {
private static final boolean DEBUG = BluetoothUtils.D;
private static final String TAG = "QrCodeScanModeActivity";