summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-01-23 17:13:45 -0800
committercretin45 <cretin45@gmail.com>2015-01-23 17:13:45 -0800
commitb7e0ddb233a87feef00820a4450637fc7cc1a991 (patch)
tree68141e91f0df225667a702bcf187a08e4d0ff0d1 /src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
parentdc8c56ba311a2d833e72588342f0cb4146b0e8ef (diff)
downloadpackages_apps_SetupWizard-b7e0ddb233a87feef00820a4450637fc7cc1a991.zip
packages_apps_SetupWizard-b7e0ddb233a87feef00820a4450637fc7cc1a991.tar.gz
packages_apps_SetupWizard-b7e0ddb233a87feef00820a4450637fc7cc1a991.tar.bz2
SetupWizard: Fix double advance after adding account
Change-Id: I039f0c290c4ef539df16374cb1e6f2e7b49e41cd
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
index 8c5e67d..948f0be 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
@@ -20,7 +20,6 @@ import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.Context;
-import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
@@ -38,7 +37,6 @@ import android.widget.CheckBox;
import android.widget.TextView;
import com.cyanogenmod.setupwizard.R;
-import com.cyanogenmod.setupwizard.SetupWizardApp;
import com.cyanogenmod.setupwizard.ui.SetupPageFragment;
import com.cyanogenmod.setupwizard.ui.WebViewDialogFragment;
import com.cyanogenmod.setupwizard.util.SetupWizardUtils;
@@ -50,7 +48,7 @@ import org.cyanogenmod.hardware.KeyDisabler;
public class CyanogenSettingsPage extends SetupPage {
- public static final String TAG = "CyanogenServicesPage";
+ public static final String TAG = "CyanogenSettingsPage";
public static final String KEY_SEND_METRICS = "send_metrics";
public static final String KEY_REGISTER_WHISPERPUSH = "register";
@@ -85,16 +83,6 @@ public class CyanogenSettingsPage extends SetupPage {
return R.string.setup_services;
}
- @Override
- public boolean onActivityResult(int requestCode, int resultCode, Intent data) {
- if (requestCode == SetupWizardApp.REQUEST_CODE_SETUP_CYANOGEN) {
- if (resultCode == Activity.RESULT_CANCELED) {
- getCallbacks().onPreviousPage();
- }
- }
- return true;
- }
-
private static void writeDisableNavkeysOption(Context context, boolean enabled) {
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
final int defaultBrightness = context.getResources().getInteger(