Make NetorkChangeNotifierAndroid not use WiFi SSID.
Previously the SSID was used to identify networks, this poses several problems however: 1. It's not precise enough as different networks can have the same SSID. 2. Accessing the SSID can be hinged on having location permission. Instead this CL changes network identification to use the Network objects for Android Marshmallow and later releases. It might be possible to use Network objects in Android Lollipop as well, but Android Marshmallow added an efficient API for getting the default Network. Bug: 825939 Change-Id: Iff8c89a84c548693d7a8b0366003676720dfe1d0 Reviewed-on: https://chromium-review.googlesource.com/980967 Commit-Queue: Paul Jensen <pauljensen@chromium.org> Reviewed-by:Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#548040}
Showing
Please register or sign in to comment