New Settings symbols for captive portal detection

This patch defines new Settings symbols for
  - setting the probe urls for captive portal detection.
  - setting which User-Agent to use for captive portal detection.

The existing default values for these settings are not changed, i.e:
  - HTTP and HTTPS probes urls are unchanged.
  - the fallback probe is not used.
  - User-Agent is empty by default.

Bug: 29367974
Change-Id: I6e4b3b172e56b8b67fffa4b51f776d68d5851f25
This commit is contained in:
Hugo Benichi
2016-09-27 13:01:41 +09:00
parent 6767b7a40a
commit e8b7aea6bb

View File

@@ -5501,7 +5501,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
@Override
public String getCaptivePortalServerUrl() {
return NetworkMonitor.getCaptivePortalServerUrl(mContext);
return NetworkMonitor.getCaptivePortalServerHttpUrl(mContext);
}
@Override