diff options
| author | 2019-02-09 20:22:03 +0000 | |
|---|---|---|
| committer | 2019-02-09 20:22:03 +0000 | |
| commit | 0d6bbfd5fbea3d030d584d456e2966ecf85407e0 (patch) | |
| tree | 237df8c464bf9704468408895593824657811742 | |
| parent | 1d9ca12d911b07782f1c57f68ebea91f8ceae2fa (diff) | |
| parent | 758a6a7ecd4f6ad214ad37d13dc343bca5fdc09f (diff) | |
Merge "Added handover support in the factory"
| -rw-r--r-- | telephony/java/android/telephony/AccessNetworkConstants.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/AccessNetworkConstants.java b/telephony/java/android/telephony/AccessNetworkConstants.java index 9c64cf6ddd8f..75165afe097e 100644 --- a/telephony/java/android/telephony/AccessNetworkConstants.java +++ b/telephony/java/android/telephony/AccessNetworkConstants.java @@ -54,8 +54,15 @@ public final class AccessNetworkConstants { */ @SystemApi public static final class TransportType { + /** + * Invalid transport type. + * @hide + */ + public static final int INVALID = -1; + /** Wireless Wide Area Networks (i.e. Cellular) */ public static final int WWAN = 1; + /** Wireless Local Area Networks (i.e. Wifi) */ public static final int WLAN = 2; @@ -65,6 +72,7 @@ public final class AccessNetworkConstants { /** @hide */ public static String toString(int type) { switch (type) { + case INVALID: return "INVALID"; case WWAN: return "WWAN"; case WLAN: return "WLAN"; default: return Integer.toString(type); |