summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-04-10 22:45:13 +0900
committerHugo Benichi <hugobenichi@google.com>2017-04-13 11:32:50 +0900
commitb2f960d1bcff53966f72c72c9fd7fd14520a7612 (patch)
treed1264712fa3f1996aa810cd44e4e2c196f020194 /rs/java/android/renderscript/ProgramFragment.java
parent19e3cbdb35406e0a8d2a401fde84674b024b22cb (diff)
Captive portal: fix probe urls at network creation
This patch changes how url configuration values for captive portal detection are read: instead of re-reading the settings at every probe detection, the settings are read once when the NetworkMonitor associated to a network is created. If the settings are updated, the new values are picked up by new networks, but not by existing networks. Since captive portal detection is most important when joining WiFi networks, the newest available settings values will still be used. This change prepares introducing further changes for rotating probe urls. Especially it helps making the detection strategy stateful with respect to the lifecycle of a single NetworkMonitor. Test: built, flashed, tested manually with various portal networks Bug: 36532213 Merged-In: I71cc8bb8b996462f27f50798d67bceee5ffb898d (cherry picked from commit b03272c9b5d1b5c71ae591f0e38b1d139d11f19f) Change-Id: I33ac2b52fea6099969c3fec9b60ba0131f9d672d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions