SetupWizard: Handle xfinity captival portal

CYNGNOS-691

Change-Id: I62ef349da48ffd3e9b148e68e946fe550cea2ff7
This commit is contained in:
cretin45 2015-08-26 13:18:21 -07:00 committed by Ed Carrigan
parent 97c37bef11
commit 97af685bbd
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ public class WifiSetupPage extends SetupPage {
getCallbacks().onNextPage();
}
} else if (requestCode == SetupWizardApp.REQUEST_CODE_SETUP_CAPTIVE_PORTAL) {
if (data == null) {
launchWifiSetup();
return true;
}
String token = data.getStringExtra("response_token");
if (token != null && !token.equals(mResponseToken)) {
SetupStats.addEvent(SetupStats.Categories.EXTERNAL_PAGE_LOAD,