diff options
author | Felipe Leme <felipeal@google.com> | 2016-02-10 17:28:31 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2016-03-03 09:05:18 -0800 |
commit | 011b98f93a4e0f609f9f3a83be784021c8b593a6 (patch) | |
tree | bc2e86c522d886f6502c51ecad7a04424c6fd6e3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2cca0a930b032d76296556f761667ab3514fd6fb (diff) |
Created a firewall chain for power save mode.
When power-save mode was first implemented, there were no firewall rules
on netd, so the solution was to make all network interface metered and
re-use the bw_penalty_box chain.
This change removes that workaround by creating a explicit fw_powersave
chain, whose behavior is similar to fw_dozable (in fact, it reuses some
of its code); such change not only makes network restrictions on
power-save mode simpler, but it also allows to optimze how the restrict
network rules are changed (which will be done in a separate change).
BUG: 27127112
BUG: 26685616
Change-Id: I7f7a7b1c1855e916c6651ad90da29fe187a7bea2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions