uwb(cts): Fix testFiraRangingSessionAddRemoveControlee
Setting subsession id list is only allowed for configs with individual
controlee keys.
Bug: 278959195
Test: atest CtsUwbTestCases
android.uwb.cts.UwbManagerTest#testFiraRangingSessionAddRemoveControlee
Change-Id: Ie8e6e4c1ef27428b232b7a8964d07126e8efb8e1
diff --git a/tests/cts/tests/src/android/uwb/cts/UwbManagerTest.java b/tests/cts/tests/src/android/uwb/cts/UwbManagerTest.java
index 8b19a62..642727b 100644
--- a/tests/cts/tests/src/android/uwb/cts/UwbManagerTest.java
+++ b/tests/cts/tests/src/android/uwb/cts/UwbManagerTest.java
@@ -1357,7 +1357,6 @@
rangingSessionCallback.rangingSession.addControlee(
new FiraControleeParams.Builder()
.setAddressList(new UwbAddress[]{uwbAddress})
- .setSubSessionIdList(new int[]{1})
.build().toBundle()
);
// Wait for the on reconfigured and controlee added callback.
@@ -1373,7 +1372,6 @@
rangingSessionCallback.rangingSession.removeControlee(
new FiraControleeParams.Builder()
.setAddressList(new UwbAddress[]{uwbAddress})
- .setSubSessionIdList(new int[]{1})
.build().toBundle()
);
// Wait for the on reconfigured and controlee added callback.