Merge "Return legacy VPN info regardless of lockdown mode" into nyc-dev
This commit is contained in:
commit
ca9615bb20
1 changed files with 0 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue