hotfix for Android 9 (Pie) wifi scan throttling

This commit is contained in:
Jenny Danzmayr 2019-12-25 16:38:04 +01:00
parent 02d7898d85
commit 211fa7018f

View file

@ -1564,7 +1564,7 @@ c3nav = {
_wifiScanningTimer: null, _wifiScanningTimer: null,
startWifiScanning: function() { startWifiScanning: function() {
if (c3nav._wifiScanningTimer == null) { if (c3nav._wifiScanningTimer == null) {
c3nav._wifiScanningTimer = window.setInterval(function() { mobileclient.scanNow(); }, 4000); c3nav._wifiScanningTimer = window.setInterval(function() { mobileclient.scanNow(); }, 30000);
} }
}, },
stopWifiScanning: function() { stopWifiScanning: function() {