summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTyson Miller <tmiller@cyngn.com>2016-02-16 23:25:25 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-22 23:35:52 (GMT)
commit3e6ed3e30cbec3ee292f5b4a0c3821244790af97 (patch)
treeacdb6825c42b326db613bebe1d6400d060c33c1a /src
parentb4ff2a9216e895e2d4d9f051d5eedbfd6474b42e (diff)
downloadandroid_packages_apps_Trebuchet-3e6ed3e30cbec3ee292f5b4a0c3821244790af97.zip
android_packages_apps_Trebuchet-3e6ed3e30cbec3ee292f5b4a0c3821244790af97.tar.gz
android_packages_apps_Trebuchet-3e6ed3e30cbec3ee292f5b4a0c3821244790af97.tar.bz2
Trebuchet: Featured Apps uses themed composed icons and responds to theme changes
Issue-Id: CYNGNOS-1789 Change-Id: I1e94b7688c4069932a36319bc6c216839056280e
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/Launcher.java2
-rw-r--r--src/com/android/launcher3/ThemeChangedReceiver.java4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 802a379..b135fef 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -269,7 +269,7 @@ public class Launcher extends Activity
private View mWeightWatcher;
private DynamicGridSizeFragment mDynamicGridSizeFragment;
- private static RemoteFolderManager sRemoteFolderManager;
+ protected static RemoteFolderManager sRemoteFolderManager;
private AppWidgetManagerCompat mAppWidgetManager;
private LauncherAppWidgetHost mAppWidgetHost;
diff --git a/src/com/android/launcher3/ThemeChangedReceiver.java b/src/com/android/launcher3/ThemeChangedReceiver.java
index 6dac0be..3f4f3af 100644
--- a/src/com/android/launcher3/ThemeChangedReceiver.java
+++ b/src/com/android/launcher3/ThemeChangedReceiver.java
@@ -43,6 +43,10 @@ public class ThemeChangedReceiver extends BroadcastReceiver {
app.recreateWidgetPreviewDb();
app.getIconCache().flush();
app.getModel().forceReload();
+
+ if (Launcher.sRemoteFolderManager != null) {
+ Launcher.sRemoteFolderManager.onThemeChanged();
+ }
}
}