Merge "Return legacy VPN info regardless of lockdown mode" into nyc-dev

am: 48b18f4fa9

* commit '48b18f4fa994e201e3eb4cca1e7c823b198359c5':
  Return legacy VPN info regardless of lockdown mode

Change-Id: I89c0784d5edae3c7ef9f8ec1c6ee4f823dbbae02
This commit is contained in:
Robin Lee
2016-05-25 21:20:43 +00:00
committed by android-build-merger

View File

@@ -3228,9 +3228,6 @@ public class ConnectivityService extends IConnectivityManager.Stub
@Override
public LegacyVpnInfo getLegacyVpnInfo(int userId) {
enforceCrossUserPermission(userId);
if (mLockdownEnabled) {
return null;
}
synchronized(mVpns) {
return mVpns.get(userId).getLegacyVpnInfo();