From 612302f6666a2345cb676bba087bbbfe24d0a636 Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Thu, 10 Jul 2014 14:53:24 -0700 Subject: [PATCH] Missed an entry in the copy constructor. bug:15755597 Change-Id: Iee17ca88404a6a50258d204a12cd0c04cd15e34e --- core/java/android/net/NetworkCapabilities.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/net/NetworkCapabilities.java b/core/java/android/net/NetworkCapabilities.java index 835b2694c4..53f9fcdd93 100644 --- a/core/java/android/net/NetworkCapabilities.java +++ b/core/java/android/net/NetworkCapabilities.java @@ -57,6 +57,7 @@ public final class NetworkCapabilities implements Parcelable { mTransportTypes = nc.mTransportTypes; mLinkUpBandwidthKbps = nc.mLinkUpBandwidthKbps; mLinkDownBandwidthKbps = nc.mLinkDownBandwidthKbps; + mNetworkSpecifier = nc.mNetworkSpecifier; } } @@ -449,7 +450,8 @@ public final class NetworkCapabilities implements Parcelable { *

* The interpretation of this {@code String} is bearer specific and bearers that use * it should document their particulars. For example, Bluetooth may use some sort of - * device id while WiFi could used ssid and/or bssid. Cellular may use carrier spn. + * device id while WiFi could used SSID and/or BSSID. Cellular may use carrier SPN (name) + * or Subscription ID. * * @param networkSpecifier An {@code String} of opaque format used to specify the bearer * specific network specifier where the bearer has a choice of