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

This commit is contained in:
Robin Lee
2016-05-25 21:05:53 +00:00
committed by Android (Google) Code Review

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();