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

Commit 938fb08a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 527024a3 67a9dfc7
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;