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

Commit f713d019 authored by xutianguo's avatar xutianguo Committed by android-build-merger
Browse files

Merge "GATT: Fix NoSuchElementException when flush batch scan results"

am: 938fb08a

Change-Id: Ibb89ed7abe6be85c09bcf0f29df543aef7b8a384
parents f3b138c3 938fb08a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -527,9 +527,11 @@ public class ScanManager {
                            return;
                        }
                        // Note this actually flushes all pending batch data.
                        if (mBatchClients.iterator().hasNext()) {
                            flushBatchScanResults(mBatchClients.iterator().next());
                        }
                    }
                }
            };
            mService.registerReceiver(mBatchAlarmReceiver, filter);
            mBatchAlarmReceiverRegistered = true;