Merge change 6823

* changes:
  wifi: Keep the WLAN network interface up whenever wifi is enabled.
This commit is contained in:
Android (Google) Code Review
2009-07-10 16:29:20 -07:00
4 changed files with 39 additions and 6 deletions

View File

@@ -25,6 +25,9 @@ import java.net.UnknownHostException;
* {@hide}
*/
public class NetworkUtils {
/** Bring the named network interface up. */
public native static int enableInterface(String interfaceName);
/** Bring the named network interface down. */
public native static int disableInterface(String interfaceName);