NetworkCapabilities: remove duplicated TRANSPORT_NAMES
Due to multi-branch automerging issue, TRANSPORT_NAMES got inserted twice into NetworkCapabilities both by commits45670bb37dand21665ac809. This patch deletes one of the copy. Test: no functionality change. Build is fixed. Change-Id: I2adec1a9cb1ee6f1d61dfeec2d0b92b8141eed88
This commit is contained in:
@@ -432,15 +432,6 @@ public final class NetworkCapabilities implements Parcelable {
|
|||||||
"WIFI_AWARE"
|
"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.
|
* Adds the given transport type to this {@code NetworkCapability} instance.
|
||||||
* Multiple transports may be applied sequentially. Note that when searching
|
* Multiple transports may be applied sequentially. Note that when searching
|
||||||
|
|||||||
Reference in New Issue
Block a user