title: Disabling Location permission on Android 6 seems to affect WiFi parameter queries
body: <p>I have an Android application that accesses the device's location and then queries the WiFi parameters. Everything typically runs smoothly.</p>
  
  <p>If I turn off the Location permission for the app (as I can do in Android 6) I no longer get the device's location (as is expected). However, I also get a modified <strong>WiFiInfo</strong> object when I try to query the WiFi parameters. In particular:</p>
  
  <ul>
  <li>getScanResults() normally lists all of the networks available, but with Location turned off it only contains the network the device is connected to.</li>
  <li>If I look at the capabilities of the network that is found, the string is empty. Normally it contains information such as the wireless encryption information.</li>
  </ul>
  
  <p>Has anyone else seen this? I've verified it using the same code with the Location permission turned on/off on 2 different devices. Any idea on what's happening?</p>
  
  <p><strong>Update:</strong> On further review, I was wrong when I said that getScanResults() returns information about the AP that the device us connected to. It in fact returns an empty list. This would support the idea that Google doesn't want us to have any information about the local APs if Location permission is denied.</p>