diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2021-02-03 10:18:20 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2021-02-19 13:53:56 +0900 |
| commit | 345c2dfcf046d74c6e0fd5335fab000ad6c6bbcb (patch) | |
| tree | 91d82a8252a04c4dc051f8674932a88c433f6c38 /tests/common/java/android/net/NetworkStackTest.java | |
| parent | 6c7ed9dddc93ff7aea2c2508058b3a441a335d70 (diff) | |
Use formal API for ActivityThread to set proxy
Add setHttpProxyConfiguration to the public API, and use
ConnectivityManager APIs from ActivityThread (instead of hidden APIs) to
get/set the proxy for an app process.
The default proxy is now initialized with getDefaultProxy instead of
getProxyForNetwork(null); this should not make a difference, as nothing
should have called bindProcessToNetwork at that point yet.
Bug: 174436414
Test: m; device boots
Merged-In: Ifb516194ecde1567cea4b6806946091cdcf2f015
Change-Id: I06b797eeae54609aecdc0afe1df4e6c602a17a69
Diffstat (limited to 'tests/common/java/android/net/NetworkStackTest.java')
0 files changed, 0 insertions, 0 deletions
