Merge "Do not depend on Tethering stubs in CM consts"
This commit is contained in:
@@ -456,7 +456,7 @@ public class ConnectivityManager {
|
|||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
public static final int TETHERING_WIFI = TetheringManager.TETHERING_WIFI;
|
public static final int TETHERING_WIFI = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* USB tethering type.
|
* USB tethering type.
|
||||||
@@ -464,7 +464,7 @@ public class ConnectivityManager {
|
|||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
public static final int TETHERING_USB = TetheringManager.TETHERING_USB;
|
public static final int TETHERING_USB = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bluetooth tethering type.
|
* Bluetooth tethering type.
|
||||||
@@ -472,7 +472,7 @@ public class ConnectivityManager {
|
|||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
public static final int TETHERING_BLUETOOTH = TetheringManager.TETHERING_BLUETOOTH;
|
public static final int TETHERING_BLUETOOTH = 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wifi P2p tethering type.
|
* Wifi P2p tethering type.
|
||||||
@@ -2799,7 +2799,7 @@ public class ConnectivityManager {
|
|||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final int TETHER_ERROR_NO_ERROR = TetheringManager.TETHER_ERROR_NO_ERROR;
|
public static final int TETHER_ERROR_NO_ERROR = 0;
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link TetheringManager#TETHER_ERROR_UNKNOWN_IFACE}.
|
* @deprecated Use {@link TetheringManager#TETHER_ERROR_UNKNOWN_IFACE}.
|
||||||
* {@hide}
|
* {@hide}
|
||||||
@@ -2875,8 +2875,7 @@ public class ConnectivityManager {
|
|||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final int TETHER_ERROR_PROVISION_FAILED =
|
public static final int TETHER_ERROR_PROVISION_FAILED = 11;
|
||||||
TetheringManager.TETHER_ERROR_PROVISIONING_FAILED;
|
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link TetheringManager#TETHER_ERROR_DHCPSERVER_ERROR}.
|
* @deprecated Use {@link TetheringManager#TETHER_ERROR_DHCPSERVER_ERROR}.
|
||||||
* {@hide}
|
* {@hide}
|
||||||
@@ -2890,8 +2889,7 @@ public class ConnectivityManager {
|
|||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN =
|
public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN = 13;
|
||||||
TetheringManager.TETHER_ERROR_ENTITLEMENT_UNKNOWN;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a more detailed error code after a Tethering or Untethering
|
* Get a more detailed error code after a Tethering or Untethering
|
||||||
|
|||||||
Reference in New Issue
Block a user