summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2016-02-24 15:48:56 -0800
committerClark Scheff <clark@cyngn.com>2016-03-01 09:58:55 -0800
commit81043105926dbd7cc6abf03bb5e88c515014b21b (patch)
tree2be9b27238fc0b89e62411cd744b0728264daf91 /src/com/cyanogenmod/setupwizard/setup
parentca63326151df341831cf95c2ffb910c7232c401d (diff)
downloadpackages_apps_SetupWizard-81043105926dbd7cc6abf03bb5e88c515014b21b.zip
packages_apps_SetupWizard-81043105926dbd7cc6abf03bb5e88c515014b21b.tar.gz
packages_apps_SetupWizard-81043105926dbd7cc6abf03bb5e88c515014b21b.tar.bz2
Themes: Refactor themes to CMSDK [6/6]
Change-Id: I26214e9a71f4d2f5f1b61cf3cabdcdb8bcc098b1 TICKET: CYNGNOS-2126
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
index 4827090..7cedaea 100644
--- a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java
@@ -22,7 +22,6 @@ import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.ThemeConfig;
-import android.content.res.ThemeManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.RemoteException;
@@ -49,6 +48,7 @@ import com.cyanogenmod.setupwizard.util.SetupWizardUtils;
import cyanogenmod.hardware.CMHardwareManager;
import cyanogenmod.providers.CMSettings;
+import cyanogenmod.themes.ThemeManager;
public class CyanogenSettingsPage extends SetupPage {
@@ -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) mContext.getSystemService(Context.THEME_SERVICE);
+ final ThemeManager tm = ThemeManager.getInstance();
tm.applyDefaultTheme();
} else {