Handle Low Power Standby chain in ConnectivityService
Bug: 190822356 Test: atest NetworkManagementServiceTest Change-Id: If5a07d0ea958d832b00797a9d9a4d5ad4f129b89
This commit is contained in:
parent
54423027fa
commit
1db49e1c7f
1 changed files with 4 additions and 0 deletions
|
|
@ -10912,6 +10912,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
case ConnectivityManager.FIREWALL_CHAIN_RESTRICTED:
|
||||
mBpfNetMaps.replaceUidChain("fw_restricted", true /* isAllowList */, uids);
|
||||
break;
|
||||
case ConnectivityManager.FIREWALL_CHAIN_LOW_POWER_STANDBY:
|
||||
mBpfNetMaps.replaceUidChain("fw_low_power_standby", true /* isAllowList */,
|
||||
uids);
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("replaceFirewallChain with invalid chain: "
|
||||
+ chain);
|
||||
|
|
|
|||
Loading…
Reference in a new issue