Merge \"Update isValidLockdownProfile to block PPTP\" into nyc-mr1-dev

am: da68f0614c

Change-Id: Ie2d433c537fc27cbe04f80cd74c464e4a216238e
This commit is contained in:
Robin Lee
2016-07-06 16:21:00 +00:00
committed by android-build-merger

View File

@@ -176,6 +176,11 @@ public class VpnProfile implements Cloneable, Parcelable {
* connection.
*/
public boolean isValidLockdownProfile() {
// b/7064069: lockdown firewall blocks ports that would be used for PPTP
if (type == TYPE_PPTP) {
return false;
}
try {
InetAddress.parseNumericAddress(server);