diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2016-07-28 17:14:11 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2016-09-23 11:27:13 +0900 |
commit | fbe9b1ad6fe6a8d22193c5d04c85e372f56fae03 (patch) | |
tree | a627dd49e496cd02d50d2f350b1567af37e0ad8d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 488ca21f0a393e5fef2dc58c73f43ac7ad8d96fa (diff) |
Restrict access to background networks to CHANGE_NETWORK_STATE.
When a network goes into the background, tell netd to set the
network's permission to NETWORK. Also, close all TCP sockets on
that network, to prevent long-lived TCP connections from staying
on it and possibly continuing to use metered data.
Bug: 23113288
Change-Id: Ie89c1940b6739160e25c6e9022b8b977afb3e16e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions