diff options
Diffstat (limited to 'src/de/blinkt/openvpn/api/APIVpnProfile.java')
-rw-r--r-- | src/de/blinkt/openvpn/api/APIVpnProfile.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/de/blinkt/openvpn/api/APIVpnProfile.java b/src/de/blinkt/openvpn/api/APIVpnProfile.java index dfcccf36..f5591764 100644 --- a/src/de/blinkt/openvpn/api/APIVpnProfile.java +++ b/src/de/blinkt/openvpn/api/APIVpnProfile.java @@ -12,10 +12,7 @@ public class APIVpnProfile implements Parcelable { public APIVpnProfile(Parcel in) {
mUUID = in.readString();
mName = in.readString();
- if(in.readInt()==0)
- mUserEditable=false;
- else
- mUserEditable=true;
+ mUserEditable = in.readInt() != 0;
}
public APIVpnProfile(String uuidString, String name, boolean userEditable) {
|