Revert "Annotate @SystemApi on some WifiManager methods."
This reverts commit 041bcc22bd21f84358e5b2102e3a919bcdd99b81. Bug: 17134034 Change-Id: I1ebcdd9b4c56e5c93fd5667699c8971e8c6e5452
This commit is contained in:
@@ -1696,7 +1696,6 @@ public class WifiManager {
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public void connect(WifiConfiguration config, ActionListener listener) {
|
||||
if (config == null) throw new IllegalArgumentException("config cannot be null");
|
||||
validateChannel();
|
||||
@@ -1719,7 +1718,6 @@ public class WifiManager {
|
||||
* initialized again
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public void connect(int networkId, ActionListener listener) {
|
||||
if (networkId < 0) throw new IllegalArgumentException("Network id cannot be negative");
|
||||
validateChannel();
|
||||
@@ -1744,7 +1742,6 @@ public class WifiManager {
|
||||
* initialized again
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public void save(WifiConfiguration config, ActionListener listener) {
|
||||
if (config == null) throw new IllegalArgumentException("config cannot be null");
|
||||
validateChannel();
|
||||
@@ -1764,7 +1761,6 @@ public class WifiManager {
|
||||
* initialized again
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public void forget(int netId, ActionListener listener) {
|
||||
if (netId < 0) throw new IllegalArgumentException("Network id cannot be negative");
|
||||
validateChannel();
|
||||
@@ -1780,7 +1776,6 @@ public class WifiManager {
|
||||
* initialized again
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public void disable(int netId, ActionListener listener) {
|
||||
if (netId < 0) throw new IllegalArgumentException("Network id cannot be negative");
|
||||
validateChannel();
|
||||
|
||||
Reference in New Issue
Block a user