commit | 964e6b166bce09a8918cd1b7b1e2e0527a7d65e7 | [log] [tgz] |
---|---|---|
author | Tobias Sargeant <tobiasjs@google.com> | Mon Apr 01 20:30:08 2019 |
committer | Tobias Sargeant <tobiasjs@chromium.org> | Mon Apr 01 20:30:08 2019 |
tree | 0e42313226fb18b3488edf4f1860329c68b13263 | |
parent | dc0f34b189f8d81bfccba9402008dcb0413674fc [diff] |
[android] Use ConnectivityManager to fetch proxy information. On Android M+ we can use ConnectivityManager to fetch proxy information rather than relying on system properties or intent extras. In order to keep WebView applications that use reflection to trigger the proxy change broadcast working, we must continue to register the old ProxyReceiver object. To ensure that this is not triggered by real system broadcasts, we register it with an empty intent filter. Bug: 851995 Bug: 908085 Change-Id: Ibfa6c35693301868f8a63ea924649e4c2bc8a328 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1526268 Reviewed-by: Richard Coles <torne@chromium.org> Reviewed-by: Paul Jensen <pauljensen@chromium.org> Commit-Queue: Tobias Sargeant <tobiasjs@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#645223}(cherry picked from commit 281f390d31056c76c472347180698a77cd3556ef) Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1547973 Reviewed-by: Tobias Sargeant <tobiasjs@chromium.org> Cr-Commit-Position: refs/branch-heads/3729@{#591} Cr-Branched-From: d4a8972e30b604f090aeda5dfff68386ae656267-refs/heads/master@{#638880}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .