Fix build

Re-finalizing some classes.  The api/current.txt was updated separately but the change
that made them final got skipped.  Also had same issue for some @hide's that were removed.

Change-Id: I423bb7b3029ee03425a3c446bda51ab8191887c1
This commit is contained in:
Robert Greenwalt
2014-06-12 16:24:38 -07:00
parent d17ae25aea
commit c4920a555d
2 changed files with 3 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ import java.util.List;
* does not affect live networks. * does not affect live networks.
* *
*/ */
public class LinkProperties implements Parcelable { public final class LinkProperties implements Parcelable {
// The interface described by the network link. // The interface described by the network link.
private String mIfaceName; private String mIfaceName;
private ArrayList<LinkAddress> mLinkAddresses = new ArrayList<LinkAddress>(); private ArrayList<LinkAddress> mLinkAddresses = new ArrayList<LinkAddress>();
@@ -463,7 +463,6 @@ public class LinkProperties implements Parcelable {
/** /**
* Implement the Parcelable interface * Implement the Parcelable interface
* @hide
*/ */
public int describeContents() { public int describeContents() {
return 0; return 0;

View File

@@ -46,7 +46,7 @@ import java.util.Objects;
* destination and gateway are both specified, they must be of the same address family * destination and gateway are both specified, they must be of the same address family
* (IPv4 or IPv6). * (IPv4 or IPv6).
*/ */
public class RouteInfo implements Parcelable { public final class RouteInfo implements Parcelable {
/** /**
* The IP destination address for this route. * The IP destination address for this route.
* TODO: Make this an IpPrefix. * TODO: Make this an IpPrefix.
@@ -248,7 +248,7 @@ public class RouteInfo implements Parcelable {
* Retrieves the gateway or next hop {@link InetAddress} for this route. * Retrieves the gateway or next hop {@link InetAddress} for this route.
* *
* @return {@link InetAddress} specifying the gateway or next hop. This may be * @return {@link InetAddress} specifying the gateway or next hop. This may be
& {@code null} for a directly-connected route." * {@code null} for a directly-connected route."
*/ */
public InetAddress getGateway() { public InetAddress getGateway() {
return mGateway; return mGateway;
@@ -378,7 +378,6 @@ public class RouteInfo implements Parcelable {
/** /**
* Implement the Parcelable interface * Implement the Parcelable interface
* @hide
*/ */
public int describeContents() { public int describeContents() {
return 0; return 0;
@@ -386,7 +385,6 @@ public class RouteInfo implements Parcelable {
/** /**
* Implement the Parcelable interface * Implement the Parcelable interface
* @hide
*/ */
public void writeToParcel(Parcel dest, int flags) { public void writeToParcel(Parcel dest, int flags) {
if (mDestination == null) { if (mDestination == null) {
@@ -409,7 +407,6 @@ public class RouteInfo implements Parcelable {
/** /**
* Implement the Parcelable interface. * Implement the Parcelable interface.
* @hide
*/ */
public static final Creator<RouteInfo> CREATOR = public static final Creator<RouteInfo> CREATOR =
new Creator<RouteInfo>() { new Creator<RouteInfo>() {