Merge "Separate test into reasonable multiple tests" am: 26a7e61417
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1793478 Change-Id: I9193477c6744c6f9a1f7e7e14e0c98e4348b262d
This commit is contained in:
@@ -852,7 +852,7 @@ public final class NetworkCapabilities implements Parcelable {
|
||||
// SubIds are only allowed for Test Networks that only declare TRANSPORT_TEST.
|
||||
setSubscriptionIds(originalSubIds);
|
||||
} else {
|
||||
// If the test transport is restricted, then it may declare any transport.
|
||||
// If the test network is restricted, then it may declare any transport.
|
||||
mTransportTypes = (originalTransportTypes | (1 << TRANSPORT_TEST));
|
||||
}
|
||||
mNetworkCapabilities = originalCapabilities & TEST_NETWORKS_ALLOWED_CAPABILITIES;
|
||||
|
||||
Reference in New Issue
Block a user