diff options
author | Hugo Benichi <hugobenichi@google.com> | 2017-04-10 17:08:06 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-04-13 16:45:47 +0900 |
commit | a415870221ec732290a0c77698da3c1b87818e8d (patch) | |
tree | 6a7404eed2db0276630dc00ba48a67d6ca731b82 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0908daaaf00e6b56ebed0a0fce9c3e3fe183a06b (diff) |
Captive portal: regroup hardcoded http response codes.
This patch regroups various hardcoded http codes into well defined
constants. This reduces risk of errors and makes the captive portal
logic clearer.
This patch also fixes the logging when a captive portal detection
probe fails, to take into account https ssl handshake failures: for
well-behaved portals it is expected that the https probe will fail,
however the error message was written before the introduction of the
https probe and had become ambiguous.
Test: built, flashed, tested manually with various portal networks
Bug: 36532213
Change-Id: Ia15f77e268cb414816fc52f92835289f9a9ce92b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions