Loading wifi/java/android/net/wifi/WifiManager.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -1698,9 +1698,7 @@ public class WifiManager { * @return the list of access points found in the most recent scan. An app must hold * @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_COARSE_LOCATION} or * {@link android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION} permission * {@link android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION} permission * in order to get valid results. If there is a remote exception (e.g., either a communication * in order to get valid results. * problem with the system service or an exception within the framework) an empty list will be * returned. */ */ public List<ScanResult> getScanResults() { public List<ScanResult> getScanResults() { try { try { Loading Loading
wifi/java/android/net/wifi/WifiManager.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -1698,9 +1698,7 @@ public class WifiManager { * @return the list of access points found in the most recent scan. An app must hold * @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_COARSE_LOCATION} or * {@link android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION} permission * {@link android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION} permission * in order to get valid results. If there is a remote exception (e.g., either a communication * in order to get valid results. * problem with the system service or an exception within the framework) an empty list will be * returned. */ */ public List<ScanResult> getScanResults() { public List<ScanResult> getScanResults() { try { try { Loading