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

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

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

Merge "GATT: Fix NoSuchElementException when flush batch scan results" am: 938fb08a am: f713d019
am: 6561e643

Change-Id: I0442dcfecad54161a70a03f48409ea530cafe7c3
parents 350b56f2 6561e643
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;