commit | 2c02197bdd12378c7b2f8ee4bcaa625b2c564ede | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Wed Dec 14 08:23:40 2016 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Thu Jan 05 12:12:50 2017 +0900 |
tree | 9af728759413f5417bce4080c45f609fb7b3faf5 | |
parent | 7f086e162b9000fd471f3450ae53fe1261f58993 [diff] |
DO NOT MERGE Captive portals: login activity probes like NetworkMonitor This patch changes CaptivePortalLoginActivity captive portal test to be consistent with NetworkMonitor by: - using Network.java to open the http connection. - adding a UserAgent property to the request header. Test: manually tested. Bug: 32369183 (cherry picked from commit cdf3ba48ccef0f9c6ca8724c1c106df0dd725ad0) Change-Id: I559eb0497475daad758ba3b3395225dcd0a27a57