Add encryption option to PPTP UI.
Also add new error dialogs for L2TP challenge error and remote server hanging up error.
This commit is contained in:
@@ -24,6 +24,7 @@ import android.content.Intent;
|
||||
import android.net.vpn.L2tpIpsecProfile;
|
||||
import android.net.vpn.L2tpIpsecPskProfile;
|
||||
import android.net.vpn.L2tpProfile;
|
||||
import android.net.vpn.PptpProfile;
|
||||
import android.net.vpn.VpnProfile;
|
||||
import android.net.vpn.VpnType;
|
||||
import android.os.Bundle;
|
||||
@@ -162,6 +163,9 @@ public class VpnEditor extends PreferenceActivity {
|
||||
case L2TP:
|
||||
return new L2tpEditor((L2tpProfile) p);
|
||||
|
||||
case PPTP:
|
||||
return new PptpEditor((PptpProfile) p);
|
||||
|
||||
default:
|
||||
return new VpnProfileEditor(p);
|
||||
}
|
||||
|
Reference in New Issue
Block a user