summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-08-26 13:18:21 -0700
committerEd Carrigan <cretin45@gmail.com>2015-09-01 16:44:53 -0700
commit97af685bbd71122d90fb58226f7b4b984810d691 (patch)
treecdcc407bbd2d8393a7227a26571c779250ef020c /src/com/cyanogenmod/setupwizard/setup
parent97c37bef11831dc867ff0c3b9d8cf6804127019f (diff)
downloadpackages_apps_SetupWizard-97af685bbd71122d90fb58226f7b4b984810d691.zip
packages_apps_SetupWizard-97af685bbd71122d90fb58226f7b4b984810d691.tar.gz
packages_apps_SetupWizard-97af685bbd71122d90fb58226f7b4b984810d691.tar.bz2
SetupWizard: Handle xfinity captival portal
CYNGNOS-691 Change-Id: I62ef349da48ffd3e9b148e68e946fe550cea2ff7
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/WifiSetupPage.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/WifiSetupPage.java b/src/com/cyanogenmod/setupwizard/setup/WifiSetupPage.java
index 49385b9..56beddf 100644
--- a/src/com/cyanogenmod/setupwizard/setup/WifiSetupPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/WifiSetupPage.java
@@ -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,