Merge "Fix a bug where a NetworkAgent gets repeatedly torn down" am: f597b81b4e
am: ca1ca2c465
Change-Id: Ifd63fdf47348dc3a1c1871deacc61470784bdbb6
This commit is contained in:
@@ -892,7 +892,7 @@ public final class NetworkCapabilities implements Parcelable {
|
|||||||
*
|
*
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
private Set<UidRange> mUids = null;
|
private ArraySet<UidRange> mUids = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience method to set the UIDs this network applies to to a single UID.
|
* Convenience method to set the UIDs this network applies to to a single UID.
|
||||||
@@ -1180,7 +1180,7 @@ public final class NetworkCapabilities implements Parcelable {
|
|||||||
dest.writeInt(mLinkDownBandwidthKbps);
|
dest.writeInt(mLinkDownBandwidthKbps);
|
||||||
dest.writeParcelable((Parcelable) mNetworkSpecifier, flags);
|
dest.writeParcelable((Parcelable) mNetworkSpecifier, flags);
|
||||||
dest.writeInt(mSignalStrength);
|
dest.writeInt(mSignalStrength);
|
||||||
dest.writeArraySet(new ArraySet<>(mUids));
|
dest.writeArraySet(mUids);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final Creator<NetworkCapabilities> CREATOR =
|
public static final Creator<NetworkCapabilities> CREATOR =
|
||||||
|
|||||||
Reference in New Issue
Block a user