Merge "Added handover support in the factory"
This commit is contained in:
@@ -54,8 +54,15 @@ public final class AccessNetworkConstants {
|
|||||||
*/
|
*/
|
||||||
@SystemApi
|
@SystemApi
|
||||||
public static final class TransportType {
|
public static final class TransportType {
|
||||||
|
/**
|
||||||
|
* Invalid transport type.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final int INVALID = -1;
|
||||||
|
|
||||||
/** Wireless Wide Area Networks (i.e. Cellular) */
|
/** Wireless Wide Area Networks (i.e. Cellular) */
|
||||||
public static final int WWAN = 1;
|
public static final int WWAN = 1;
|
||||||
|
|
||||||
/** Wireless Local Area Networks (i.e. Wifi) */
|
/** Wireless Local Area Networks (i.e. Wifi) */
|
||||||
public static final int WLAN = 2;
|
public static final int WLAN = 2;
|
||||||
|
|
||||||
@@ -65,6 +72,7 @@ public final class AccessNetworkConstants {
|
|||||||
/** @hide */
|
/** @hide */
|
||||||
public static String toString(int type) {
|
public static String toString(int type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
case INVALID: return "INVALID";
|
||||||
case WWAN: return "WWAN";
|
case WWAN: return "WWAN";
|
||||||
case WLAN: return "WLAN";
|
case WLAN: return "WLAN";
|
||||||
default: return Integer.toString(type);
|
default: return Integer.toString(type);
|
||||||
|
|||||||
Reference in New Issue
Block a user