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

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

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

am: f713d019

Change-Id: Ie243017de08cac987577c580cf52191972a50973
parents 0e836aae f713d019
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;