Merge "Return legacy VPN info regardless of lockdown mode" into nyc-dev am: 48b18f4fa9

am: 30c63961dd

* commit '30c63961dd12fb5b8e3565bebc86c0c7a5faaa54':
  Return legacy VPN info regardless of lockdown mode

Change-Id: Icc8867a0ea3024c189aff10e2b903fac0dab2092
This commit is contained in:
Robin Lee
2016-05-25 21:28:21 +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();