diff options
author | Adnan Begovic <adnan@cyngn.com> | 2016-03-25 10:56:27 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2016-03-25 10:56:27 -0700 |
commit | 4da02b0881a0852f50e615794b4aa5187a67ba31 (patch) | |
tree | b3889685f994e59f13f65518298afb17dead14f5 /src/com/cyanogenmod/setupwizard | |
parent | 0410f846bb351fee1b322809154858472f05df52 (diff) | |
download | packages_apps_SetupWizard-4da02b0881a0852f50e615794b4aa5187a67ba31.zip packages_apps_SetupWizard-4da02b0881a0852f50e615794b4aa5187a67ba31.tar.gz packages_apps_SetupWizard-4da02b0881a0852f50e615794b4aa5187a67ba31.tar.bz2 |
SetupWizard: Update for themes api changes.
Change-Id: I8d97d43f655bcdc32e5d94d7c844fe1b64919898
TICKET: CYNGNOS-2295
Diffstat (limited to 'src/com/cyanogenmod/setupwizard')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java | 2 | ||||
-rw-r--r-- | src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java index 7cedaea..d17d64b 100644 --- a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java +++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java @@ -148,7 +148,7 @@ public class CyanogenSettingsPage extends SetupPage { SetupStats.Label.CHECKED, String.valueOf(privacyData.getBoolean(KEY_APPLY_DEFAULT_THEME))); Log.i(TAG, "Applying default theme"); - final ThemeManager tm = ThemeManager.getInstance(); + final ThemeManager tm = ThemeManager.getInstance(mContext); tm.applyDefaultTheme(); } else { diff --git a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java index b3f2db4..6005347 100644 --- a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java +++ b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java @@ -353,7 +353,7 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks, mFinishingProgressBar.setVisibility(View.VISIBLE); mFinishingProgressBar.setIndeterminate(true); mFinishingProgressBar.startAnimation(fadeIn); - final ThemeManager tm = ThemeManager.getInstance(); + final ThemeManager tm = ThemeManager.getInstance(this); tm.addClient(this); mSetupData.finishPages(); } @@ -469,7 +469,7 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks, if (mEnableAccessibilityController != null) { mEnableAccessibilityController.onDestroy(); } - final ThemeManager tm = ThemeManager.getInstance(); + final ThemeManager tm = ThemeManager.getInstance(SetupWizardActivity.this); tm.removeClient(SetupWizardActivity.this); SetupStats.sendEvents(SetupWizardActivity.this); SetupWizardUtils.disableGMSSetupWizard(SetupWizardActivity.this); |