wifi: use new WifiManager.startScanActive() method to trigger scans.
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -501,7 +501,7 @@ public class WifiLayer {
|
||||
|
||||
if (!mWifiManager.isWifiEnabled()) return;
|
||||
|
||||
if (!mWifiManager.startScan()) {
|
||||
if (!mWifiManager.startScanActive()) {
|
||||
postAttemptScan();
|
||||
} else {
|
||||
mScanRetryCount = 0;
|
||||
|
Reference in New Issue
Block a user