Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7aed9982 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BassClientService: Clear notifiedFlags in case of sync without scanning" into main

parents d982520d e02aea64
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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)
+211 −73

File changed.

Preview size limit exceeded, changes collapsed.