Add Low Power Standby support to TrafficController

Bug: 190822356
Test: atest TrafficControllerTest
Change-Id: I84a95081ab6e6a86543fe2cddf0efdab16c90d72
This commit is contained in:
Robert Horvath
2022-01-27 19:55:16 +01:00
parent 1db49e1c7f
commit d945bf0b4f
5 changed files with 26 additions and 6 deletions

View File

@@ -941,6 +941,7 @@ public class ConnectivityManager {
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 130143562)
private final IConnectivityManager mService;
// LINT.IfChange(firewall_chain)
/**
* Firewall chain for device idle (doze mode).
* Allowlist of apps that have network access in device idle.
@@ -991,6 +992,7 @@ public class ConnectivityManager {
FIREWALL_CHAIN_LOW_POWER_STANDBY
})
public @interface FirewallChain {}
// LINT.ThenChange(packages/modules/Connectivity/service/native/include/Common.h)
/**
* A kludge to facilitate static access where a Context pointer isn't available, like in the