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:
@@ -3228,9 +3228,6 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
@Override
|
@Override
|
||||||
public LegacyVpnInfo getLegacyVpnInfo(int userId) {
|
public LegacyVpnInfo getLegacyVpnInfo(int userId) {
|
||||||
enforceCrossUserPermission(userId);
|
enforceCrossUserPermission(userId);
|
||||||
if (mLockdownEnabled) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
synchronized(mVpns) {
|
synchronized(mVpns) {
|
||||||
return mVpns.get(userId).getLegacyVpnInfo();
|
return mVpns.get(userId).getLegacyVpnInfo();
|
||||||
|
|||||||
Reference in New Issue
Block a user