Merge changes I22d67a7e,Ida4a4bc7,Ie8522862,Id55d8d6c into main
* changes: Ensure nri is satisfied before returning. Add testLockdownVpn that mocks platform VPN. Make variables in testLegacyLockdownVpn() final. Update testLegacyLockdownVpn to mock VPN.
This commit is contained in:
commit
ccfc52145b
1 changed files with 145 additions and 72 deletions
|
|
@ -8034,6 +8034,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!highestPriorityNri.isBeingSatisfied()) return null;
|
||||
return highestPriorityNri.getSatisfier();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue