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

Commit c189809b authored by Prerepa Viswanadham's avatar Prerepa Viswanadham Committed by Android Git Automerger
Browse files

am 6623ea1d: am 29961dcb: Bug 16630976 - Fix for LE Scan not working

* commit '6623ea1d':
  Bug 16630976 - Fix for LE Scan not working
parents 5b5b5195 6623ea1d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -187,6 +187,7 @@ public class ScanManager {
                mScanNative.startBatchScan(client);
            } else {
                mRegularScanClients.add(client);
                mScanNative.startRegularScan(client);
                mScanNative.configureRegularScanParams();
            }
        }
@@ -344,7 +345,9 @@ public class ScanManager {
                    // convert scanWindow and scanInterval from ms to LE scan units(0.625ms)
                    scanWindow = (scanWindow * 1000)/625;
                    scanInterval = (scanInterval * 1000)/625;
                    gattClientScanNative(false);
                    gattSetScanParametersNative(scanInterval, scanWindow);
                    gattClientScanNative(true);
                    lastConfiguredScanSetting = curScanSetting;
                }
            } else {