bw: Make background data work as background network access instead

* Always apply penalty box
* Why should only costly interfaces (metered, mobile data) have all the fun
* This changes the AOSP "Background data" implementation to "Background network access"
  instead, wherein all background network usage is disallowed when the Settings
  toggle is off, instead of just mobile data.

Test: Toggle on, Launch F-Droid, try to download a big app, Toggle off.
      Download should pause when in background (verify via notification),
      and resume when in foreground.
Change-Id: I634c4c8a8e83dd55ac287efcebda1980571c8772
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
1 file changed
tree: 3ec2397559d73d206d3b86bd4f20184cad6f7053
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING