summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2020-07-15 14:52:44 -0700
committerSudheer Shanka <sudheersai@google.com>2020-07-16 12:49:20 -0700
commit4eca322f615041b4fe56a4a6701553ac074f3a22 (patch)
tree8c85087b2834be8dfabe90e73225e03bb00864ec /tools/aapt2/java/JavaClassGenerator.cpp
parentf65210f9cad319d3e99320672e9eb36605c25851 (diff)
Evaluate and sync firewall rules when parole state changes.
Earlier we used to just toggle the appstandby firewall chain. This mostly works because even though the firewall chain is disabled, we ensure the rules are up-to-date but if the idle state of an app changes at the same time as the parole state change, it is possible that NPMS will not receive the idle state change callback. So, the firewall rule for that app would be obsolete until it is re-evaluated on some other trigger. Bug: 160855861 Test: atest ./hostsidetests/net/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: I3f8d0d172ac415fbd133b32c6ec5952c2743b6f0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions