Handle Low Power Standby chain in ConnectivityService
Bug: 190822356 Test: atest NetworkManagementServiceTest Change-Id: If5a07d0ea958d832b00797a9d9a4d5ad4f129b89
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user