Loading android/app/src/com/android/bluetooth/bass_client/BassClientService.java +4 −6 Original line number Diff line number Diff line Loading @@ -1565,13 +1565,11 @@ public class BassClientService extends ProfileService { mHandler.removeMessages(MESSAGE_SYNC_TIMEOUT); // when starting scan, clear the previously cached broadcast scan results mCachedBroadcasts.clear(); if (!leaudioBroadcastExtractPeriodicScannerFromStateMachine()) { // clear previous sources notify flag before scanning new result // this is to make sure the active sources are notified even if already synced if (mPeriodicAdvertisementResultMap != null) { clearNotifiedFlags(); } } ScanSettings settings = new ScanSettings.Builder().setCallbackType( ScanSettings.CALLBACK_TYPE_ALL_MATCHES) .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) Loading android/app/tests/unit/src/com/android/bluetooth/bass_client/BassClientServiceTest.java +211 −73 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
android/app/src/com/android/bluetooth/bass_client/BassClientService.java +4 −6 Original line number Diff line number Diff line Loading @@ -1565,13 +1565,11 @@ public class BassClientService extends ProfileService { mHandler.removeMessages(MESSAGE_SYNC_TIMEOUT); // when starting scan, clear the previously cached broadcast scan results mCachedBroadcasts.clear(); if (!leaudioBroadcastExtractPeriodicScannerFromStateMachine()) { // clear previous sources notify flag before scanning new result // this is to make sure the active sources are notified even if already synced if (mPeriodicAdvertisementResultMap != null) { clearNotifiedFlags(); } } ScanSettings settings = new ScanSettings.Builder().setCallbackType( ScanSettings.CALLBACK_TYPE_ALL_MATCHES) .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) Loading
android/app/tests/unit/src/com/android/bluetooth/bass_client/BassClientServiceTest.java +211 −73 File changed.Preview size limit exceeded, changes collapsed. Show changes