summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-02-23 14:33:07 -0800
committercretin45 <cretin45@gmail.com>2015-02-23 14:33:07 -0800
commitd7e70040b79dafe475de5205836d714a52a2506a (patch)
treed07f74a9a3e54dff8a848818f156edde28d120cb /src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
parentc4584a78e30444b336dd6788334af6432b1ca466 (diff)
downloadpackages_apps_SetupWizard-d7e70040b79dafe475de5205836d714a52a2506a.zip
packages_apps_SetupWizard-d7e70040b79dafe475de5205836d714a52a2506a.tar.gz
packages_apps_SetupWizard-d7e70040b79dafe475de5205836d714a52a2506a.tar.bz2
SetupWizard: Refactor context type
Context is assumed to be SetupWizardActivity and blindly cast. Just make the Context reference a SetupWizardActivity. Change-Id: I3d7ffd08980fbff0fbea51b45b28002b49813038
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
index 9dab3c0..c35859c 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
@@ -39,6 +39,7 @@ import android.widget.TextView;
import com.cyanogenmod.setupwizard.R;
import com.cyanogenmod.setupwizard.ui.SetupPageFragment;
+import com.cyanogenmod.setupwizard.ui.SetupWizardActivity;
import com.cyanogenmod.setupwizard.ui.WebViewDialogFragment;
import com.cyanogenmod.setupwizard.util.SetupWizardUtils;
import com.cyanogenmod.setupwizard.util.WhisperPushUtils;
@@ -59,7 +60,7 @@ public class CyanogenSettingsPage extends SetupPage {
public static final String SETTING_METRICS = "settings.cyanogen.allow_metrics";
public static final String PRIVACY_POLICY_URI = "https://cyngn.com/legal/privacy-policy";
- public CyanogenSettingsPage(Context context, SetupDataCallbacks callbacks) {
+ public CyanogenSettingsPage(SetupWizardActivity context, SetupDataCallbacks callbacks) {
super(context, callbacks);
}