summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSagar Verma <quic_sagarv@quicinc.com>2022-02-15 13:31:15 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2022-02-24 22:39:04 -0800
commite67b6091c6ba3f49a130b563df13188f124c8dc9 (patch)
treebef76df54c252f3864346a12acc81bc451e12536
parentb942c1fda135b29dc8673c08024307eb8558684c (diff)
A2DP: Remove ULL mode logic for disable scan (1/2)
ULL mode ALS don't send to BT Host anymore and it's deprecated hence remove it. CRs-Fixed: 3122352 Change-Id: I2880d5e956a219e3fe2ca6ce89c7c8d0aedf587b
-rw-r--r--src/com/android/bluetooth/a2dp/A2dpService.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/bluetooth/a2dp/A2dpService.java b/src/com/android/bluetooth/a2dp/A2dpService.java
index 3b094d197..56f8f6536 100644
--- a/src/com/android/bluetooth/a2dp/A2dpService.java
+++ b/src/com/android/bluetooth/a2dp/A2dpService.java
@@ -1547,7 +1547,7 @@ public class A2dpService extends ProfileService {
}
long cs4 = codecConfig.getCodecSpecific4();
- GattService mGattService = GattService.getGattService();
+ GattService mGattService = GattService.getGattService();
if(cs4 > 0 && mGattService != null) {
switch((int)(cs4 & APTX_MODE_MASK)) {
@@ -1556,7 +1556,6 @@ public class A2dpService extends ProfileService {
break;
case APTX_LL:
- case APTX_ULL:
if((cs4 & APTX_SCAN_FILTER_MASK) == APTX_SCAN_FILTER_MASK) {
mGattService.setAptXLowLatencyMode(true);
} else {
@@ -1600,7 +1599,6 @@ public class A2dpService extends ProfileService {
mGattService.setAptXLowLatencyMode(false);
break;
case APTX_LL:
- case APTX_ULL:
if((cs4 & APTX_SCAN_FILTER_MASK) == APTX_SCAN_FILTER_MASK) {
mGattService.setAptXLowLatencyMode(true);
} else {