summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2014-11-17 19:33:09 -0800
committerd34d <clark@cyngn.com>2014-11-17 19:33:09 -0800
commit77bb31f5c1954e4f895ca36ccd0483e844193e01 (patch)
tree44a9b65eab9ba8dccb3df1749718bb2bbd8128f9 /src/com
parent8b53baba3ba7ea76c70a76f6c7bde787164b1959 (diff)
downloadpackages_apps_ThemeChooser-77bb31f5c1954e4f895ca36ccd0483e844193e01.zip
packages_apps_ThemeChooser-77bb31f5c1954e4f895ca36ccd0483e844193e01.tar.gz
packages_apps_ThemeChooser-77bb31f5c1954e4f895ca36ccd0483e844193e01.tar.bz2
Exclude wallpaper and lockscreen wallpaper from fillMissingComponentsWithDefault
Change-Id: Ib802b6f3770fae0f15692b111c77ae7eeb242bfb
Diffstat (limited to 'src/com')
-rw-r--r--src/com/cyngn/theme/chooser/ThemeFragment.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/cyngn/theme/chooser/ThemeFragment.java b/src/com/cyngn/theme/chooser/ThemeFragment.java
index c866215..40b48f7 100644
--- a/src/com/cyngn/theme/chooser/ThemeFragment.java
+++ b/src/com/cyngn/theme/chooser/ThemeFragment.java
@@ -2100,10 +2100,8 @@ public class ThemeFragment extends Fragment implements LoaderManager.LoaderCallb
if (!newMap.containsKey(component)) {
// Don't use default wallpaper or lockscreen wallpaper if an external image
// is suppose to be used.
- if ((ThemesColumns.MODIFIES_LAUNCHER.equals(component) &&
- mExternalWallpaperUri != null) ||
- (ThemesColumns.MODIFIES_LOCKSCREEN.equals(component) &&
- mExternalLockscreenUri != null)) {
+ if (ThemesColumns.MODIFIES_LAUNCHER.equals(component) ||
+ ThemesColumns.MODIFIES_LOCKSCREEN.equals(component)) {
continue;
}
newMap.put(component, defaultPkg);