Merge "Return legacy VPN info regardless of lockdown mode" into nyc-dev am: 4fb4490dfb am: ef7e644fc5
am: 3b693c82ad
* commit '3b693c82ad39e418a15e14225a61c61516843ea3':
Return legacy VPN info regardless of lockdown mode
Change-Id: Ifff21798ff23d1906810d23393efc3e0cad14941
This commit is contained in:
@@ -3231,9 +3231,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