Fix the build
This commit is contained in:
@@ -121,7 +121,6 @@ public abstract class VpnProfile implements Parcelable {
|
|||||||
|
|
||||||
public static final Parcelable.Creator<VpnProfile> CREATOR =
|
public static final Parcelable.Creator<VpnProfile> CREATOR =
|
||||||
new Parcelable.Creator<VpnProfile>() {
|
new Parcelable.Creator<VpnProfile>() {
|
||||||
@Override
|
|
||||||
public VpnProfile createFromParcel(Parcel in) {
|
public VpnProfile createFromParcel(Parcel in) {
|
||||||
VpnType type = Enum.valueOf(VpnType.class, in.readString());
|
VpnType type = Enum.valueOf(VpnType.class, in.readString());
|
||||||
boolean customized = in.readInt() > 0;
|
boolean customized = in.readInt() > 0;
|
||||||
@@ -132,13 +131,11 @@ public abstract class VpnProfile implements Parcelable {
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public VpnProfile[] newArray(int size) {
|
public VpnProfile[] newArray(int size) {
|
||||||
return new VpnProfile[size];
|
return new VpnProfile[size];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeToParcel(Parcel parcel, int flags) {
|
public void writeToParcel(Parcel parcel, int flags) {
|
||||||
parcel.writeString(getType().toString());
|
parcel.writeString(getType().toString());
|
||||||
parcel.writeInt(mIsCustomized ? 1 : 0);
|
parcel.writeInt(mIsCustomized ? 1 : 0);
|
||||||
@@ -148,7 +145,6 @@ public abstract class VpnProfile implements Parcelable {
|
|||||||
parcel.writeString(mRouteList);
|
parcel.writeString(mRouteList);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int describeContents() {
|
public int describeContents() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user