From 4d114920719d4bdf6c014a9475178bbd0eba905d Mon Sep 17 00:00:00 2001 From: Wenchao Tong Date: Mon, 18 Aug 2014 17:17:57 -0700 Subject: Annotate @SystemApi on some WifiManager methods. Bug: 17112931 Change-Id: I5980bc46bc1f16316caecd7fcc6cd771b8ca6cdf --- wifi/java/android/net/wifi/WifiManager.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wifi/java/android/net') diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index e27bd7e..3d976e7 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -1696,6 +1696,7 @@ public class WifiManager { * * @hide */ + @SystemApi public void connect(WifiConfiguration config, ActionListener listener) { if (config == null) throw new IllegalArgumentException("config cannot be null"); validateChannel(); @@ -1718,6 +1719,7 @@ 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(); @@ -1742,6 +1744,7 @@ 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(); @@ -1761,6 +1764,7 @@ 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(); @@ -1776,6 +1780,7 @@ 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(); -- cgit v1.1