diff options
author | Parménides GV <parmegv@sdf.org> | 2014-05-29 10:05:47 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-05-29 10:05:47 +0200 |
commit | aba5a16a97b43f95659e0f79f76549b1fe2e9d56 (patch) | |
tree | 4483c95510b72343fadb1f6a89175e0c8cbcec84 /app/remoteExample/src/main | |
parent | 6fcd101fcbc7779ffd7239cc35e5c3359ae38fcf (diff) |
No AIDL nor api, logfragment related xml files
api folder and aidl files aren't needed for us. They are used for
external apps that want to use ics-openvpn as an already installed
package, while what we want is to avoid the installation of ics-openvpn
including it (refactored) in bitmask android.
Diffstat (limited to 'app/remoteExample/src/main')
-rw-r--r-- | app/remoteExample/src/main/java/de/blinkt/openvpn/api/APIVpnProfile.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/app/remoteExample/src/main/java/de/blinkt/openvpn/api/APIVpnProfile.java b/app/remoteExample/src/main/java/de/blinkt/openvpn/api/APIVpnProfile.java deleted file mode 100644 index a44891ab..00000000 --- a/app/remoteExample/src/main/java/de/blinkt/openvpn/api/APIVpnProfile.java +++ /dev/null @@ -1,51 +0,0 @@ -package de.blinkt.openvpn.api; - -import android.os.Parcel; -import android.os.Parcelable; - -public class APIVpnProfile implements Parcelable { - - public final String mUUID; - public final String mName; - public final boolean mUserEditable; - - public APIVpnProfile(Parcel in) { - mUUID = in.readString(); - mName = in.readString(); - mUserEditable = in.readInt() != 0; - } - - public APIVpnProfile(String uuidString, String name, boolean userEditable) { - mUUID=uuidString; - mName = name; - mUserEditable=userEditable; - } - - @Override - public int describeContents() { - return 0; - } - - @Override - public void writeToParcel(Parcel dest, int flags) { - dest.writeString(mUUID); - dest.writeString(mName); - if(mUserEditable) - dest.writeInt(0); - else - dest.writeInt(1); - } - - public static final Parcelable.Creator<APIVpnProfile> CREATOR - = new Parcelable.Creator<APIVpnProfile>() { - public APIVpnProfile createFromParcel(Parcel in) { - return new APIVpnProfile(in); - } - - public APIVpnProfile[] newArray(int size) { - return new APIVpnProfile[size]; - } - }; - - -} |