Merge "Return legacy VPN info regardless of lockdown mode" into nyc-dev
am: 4fb4490dfb
* commit '4fb4490dfbf6366813ba7f78acba705f00e21a81':
Return legacy VPN info regardless of lockdown mode
Change-Id: I89c0784d5edae3c7ef9f8ec1c6ee4f823dbbae02
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user