Merge "Add BitUtils bit packing methods (Connectivity metrics: add transports pretty printing)" am: 10b5024d5e am: 23d41ee68e
am: 876ebaa8e1 Change-Id: I0dfcea2b92287115c385f1b7678034f643d5daba
This commit is contained in:
@@ -432,6 +432,15 @@ public final class NetworkCapabilities implements Parcelable {
|
||||
"WIFI_AWARE"
|
||||
};
|
||||
|
||||
private static final String[] TRANSPORT_NAMES = {
|
||||
"CELLULAR",
|
||||
"WIFI",
|
||||
"BLUETOOTH",
|
||||
"ETHERNET",
|
||||
"VPN",
|
||||
"WIFI_AWARE"
|
||||
};
|
||||
|
||||
/**
|
||||
* Adds the given transport type to this {@code NetworkCapability} instance.
|
||||
* Multiple transports may be applied sequentially. Note that when searching
|
||||
|
||||
Reference in New Issue
Block a user