Loading wifi/java/android/net/wifi/WifiManager.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -1276,7 +1276,10 @@ public class WifiManager { /** /** * Return the results of the latest access point scan. * Return the results of the latest access point scan. * @return the list of access points found in the most recent scan. * @return the list of access points found in the most recent scan. An app must hold * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_COARSE_LOCATION} or * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_FINE_LOCATION} permission * in order to get valid results. */ */ public List<ScanResult> getScanResults() { public List<ScanResult> getScanResults() { try { try { Loading Loading
wifi/java/android/net/wifi/WifiManager.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -1276,7 +1276,10 @@ public class WifiManager { /** /** * Return the results of the latest access point scan. * Return the results of the latest access point scan. * @return the list of access points found in the most recent scan. * @return the list of access points found in the most recent scan. An app must hold * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_COARSE_LOCATION} or * {@link android.Manifest.permission#ACCESS_COARSE_LOCATION ACCESS_FINE_LOCATION} permission * in order to get valid results. */ */ public List<ScanResult> getScanResults() { public List<ScanResult> getScanResults() { try { try { Loading