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

am: 624febb525

* commit '624febb525fcbb7ccd61bd32a77431fdd54eed9b':
  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();