summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2022-02-27 22:30:22 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2022-02-27 22:30:22 -0800
commita20e51b22e01dc050b5cf9b7e0f4fa1fbf0d8922 (patch)
treef42d3272f963d18d496a4e590e3ab63529419caf
parentc0cbc29fe72abd9ef90d4f13078c1483af8ebe82 (diff)
parente67b6091c6ba3f49a130b563df13188f124c8dc9 (diff)
Merge "A2DP: Remove ULL mode logic for disable scan (1/2)" into bt-sys.lnx.12.0
-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 {