OSDN Git Service

WifiManager: API upates for O
authorRoshan Pius <rpius@google.com>
Fri, 3 Feb 2017 20:51:40 +0000 (12:51 -0800)
committerRoshan Pius <rpius@google.com>
Wed, 8 Feb 2017 16:51:26 +0000 (08:51 -0800)
commitfb441f50093bcc3476a33a2b63abf61d355f2eaa
tree0bdd096b80fffef45c271fce4c947f5f691d0f80
parent45491113ed51518d459a715de95345199b286aa8
WifiManager: API upates for O

Deprecate the following API's:
1. pingSupplicant() - We don't want apps trying to figure out if
wpa_supplicant is running or not. It should not be something that
apps need to know.
2. saveConfiguration() - No longer needed, we automatically persist data
when needed.

Other changes:
1. Reworded the docstrings to remove direct reference to wpa_supplicant
for network configuration related API's.
2. We no longer allow apps to modfiy network configuration of other
apps. Added a docstring explaining that in the 3 modify API's.
3. Changed the wording of enableNetwork's |disableOthers| flag.

Bug: 31146757
Test: make update-api
Change-Id: If970d85146de3532072191cb2b7ecb0d5adb2774
api/current.txt
api/system-current.txt
api/test-current.txt
wifi/java/android/net/wifi/WifiManager.java