commit | 8978e2582b00882d04765f3970b05e7f2888a2e4 | [log] [tgz] |
---|---|---|
author | Michael Plass <mplass@google.com> | Fri Jul 21 12:19:10 2017 -0700 |
committer | Michael Plass <mplass@google.com> | Thu Jul 27 14:01:59 2017 -0700 |
tree | 092e7dcadc42c0e4228ff7a7cb27c8dc9dad4769 | |
parent | 0f2d9e8da0a64cb397aaac94cf1f66b077761ea6 [diff] |
Require location permission to access wifi SSID, BSSID BSSID/SSID can be used to deduce location, so require the same location permissions for access to these WifiInfo fields requested using WifiManager.getConnectionInfo() as for WifiManager.getScanResults(). If the application does not have a location permission, the returned object will have a BSSID of 02:00:00:00:00:00 and <unknown ssid>. Bug: 36770596 Test: New unit tests Change-Id: Iab5ae21719206260f4993631ee78714019a925fa