DO NOT MERGE Allow the USE_OPEN_WIFI_PACKAGE to access WifiInfo unfiltered.

Do not remove the SSID/BSSID from the WifiInfo in
getConnectionInfo() if the requester is:
  * The Settings.Global.USE_OPEN_WIFI_PACKAGE
  * The current user or has been granted INTERACT_ACROSS_USERS_FULL

This only applies when the device is connected to an open network.
In all other cases the SSID/BSSID will be removed unless the caller
has scan result access.

Bug: 65639900
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Local testing with app.
Change-Id: I71eddca75a84945775be476f9ccaf1bb5c668fec
4 files changed
tree: 29204a469f015e2019beff10a2d921a3b446a8e2
  1. service/
  2. PREUPLOAD.cfg