Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 217b82c0 authored by Romain Guy's avatar Romain Guy Committed by The Android Open Source Project
Browse files

am be19df0a: Fix the build

Merge commit 'be19df0a4dcc5c9f2214935cfe6504df18be8697'

* commit 'be19df0a4dcc5c9f2214935cfe6504df18be8697':
  Fix the build
parents 79df100e 3fd189db
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -121,7 +121,6 @@ public abstract class VpnProfile implements Parcelable {

    public static final Parcelable.Creator<VpnProfile> CREATOR =
            new Parcelable.Creator<VpnProfile>() {
                @Override
                public VpnProfile createFromParcel(Parcel in) {
                    VpnType type = Enum.valueOf(VpnType.class, in.readString());
                    boolean customized = in.readInt() > 0;
@@ -132,13 +131,11 @@ public abstract class VpnProfile implements Parcelable {
                    return p;
                }

                @Override
                public VpnProfile[] newArray(int size) {
                    return new VpnProfile[size];
                }
            };

    @Override
    public void writeToParcel(Parcel parcel, int flags) {
        parcel.writeString(getType().toString());
        parcel.writeInt(mIsCustomized ? 1 : 0);
@@ -148,7 +145,6 @@ public abstract class VpnProfile implements Parcelable {
        parcel.writeString(mRouteList);
    }

    @Override
    public int describeContents() {
        return 0;
    }