summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/LauncherApplication.java
diff options
context:
space:
mode:
authorDanesh Mondegarian <daneshm90@gmail.com>2013-08-19 21:44:45 -0700
committerDanesh Mondegarian <daneshm90@gmail.com>2013-08-25 11:05:07 -0700
commit596b71d43c5f13f2d0199ffdfeaa550e15838783 (patch)
tree22e84ab3d2760ad86cae3eebfaba8f869815b72c /src/com/cyanogenmod/trebuchet/LauncherApplication.java
parentcad0342d7477efbb98227d10f73d7a1bfa7f2417 (diff)
downloadandroid_packages_apps_Trebuchet-596b71d43c5f13f2d0199ffdfeaa550e15838783.tar.gz
android_packages_apps_Trebuchet-596b71d43c5f13f2d0199ffdfeaa550e15838783.tar.bz2
android_packages_apps_Trebuchet-596b71d43c5f13f2d0199ffdfeaa550e15838783.zip
Trebuchet : Icon pack theme
This patchset allows the user to set an icon pack for the entire launcher. Change-Id: I3dc8311f7e0a7a4f174fd568aa1d74b5ceb8471a
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/LauncherApplication.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/LauncherApplication.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/trebuchet/LauncherApplication.java b/src/com/cyanogenmod/trebuchet/LauncherApplication.java
index 56fc842ba..c82393863 100644
--- a/src/com/cyanogenmod/trebuchet/LauncherApplication.java
+++ b/src/com/cyanogenmod/trebuchet/LauncherApplication.java
@@ -27,6 +27,7 @@ import android.database.ContentObserver;
import android.os.Handler;
import com.cyanogenmod.trebuchet.R;
+import com.cyanogenmod.trebuchet.preference.PreferencesProvider;
import java.lang.ref.WeakReference;
@@ -48,6 +49,9 @@ public class LauncherApplication extends Application {
sIsScreenLarge = getResources().getBoolean(R.bool.is_large_screen);
sScreenDensity = getResources().getDisplayMetrics().density;
+ // Load all preferences
+ PreferencesProvider.load(this);
+
mWidgetPreviewCacheDb = new WidgetPreviewLoader.CacheDb(this);
mIconCache = new IconCache(this);
mModel = new LauncherModel(this, mIconCache);
@@ -108,7 +112,7 @@ public class LauncherApplication extends Application {
return mModel;
}
- IconCache getIconCache() {
+ public IconCache getIconCache() {
return mIconCache;
}