Merge "Fix Ethernet documentation."

This commit is contained in:
Lorenzo Colitti
2014-05-22 19:22:56 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 6 deletions

View File

@@ -1994,6 +1994,7 @@ public abstract class Context {
WIFI_PASSPOINT_SERVICE,
WIFI_P2P_SERVICE,
WIFI_SCANNING_SERVICE,
//@hide: ETHERNET_SERVICE,
NSD_SERVICE,
AUDIO_SERVICE,
MEDIA_ROUTER_SERVICE,
@@ -2069,9 +2070,6 @@ public abstract class Context {
* <dt> {@link #WIFI_P2P_SERVICE} ("wifip2p")
* <dd> A {@link android.net.wifi.p2p.WifiP2pManager WifiP2pManager} for management of
* Wi-Fi Direct connectivity.
* <dt> {@link #ETHERNET_SERVICE} ("ethernet")
* <dd> A {@link android.net.ethernet.EthernetManager EthernetManager} for
* management of Ethernet connectivity.
* <dt> {@link #INPUT_METHOD_SERVICE} ("input_method")
* <dd> An {@link android.view.inputmethod.InputMethodManager InputMethodManager}
* for management of input methods.

View File

@@ -47,7 +47,7 @@ public class EthernetManager {
}
/**
* Get Ethernet configuration
* Get Ethernet configuration.
* @return the Ethernet Configuration, contained in {@link IpConfiguration}.
*/
public IpConfiguration getConfiguration() {
@@ -61,8 +61,7 @@ public class EthernetManager {
}
/**
* Set Ethernet configuration
* @return true if setting success
* Set Ethernet configuration.
*/
public void setConfiguration(IpConfiguration config) {
try {