Hacker News new | ask | show | jobs
by bobzilla42 2877 days ago
The WifiManager.startScan() usage is limited to: - Each foreground app is restricted to 4 scans every 2 minutes. - All background apps combined are restricted to one scan every 30 minutes."

Mark startScan() as deprecated so that we can take away this API in future releases. https://android.googlesource.com/platform/frameworks/base/+/...