From 77bb31f5c1954e4f895ca36ccd0483e844193e01 Mon Sep 17 00:00:00 2001 From: d34d Date: Mon, 17 Nov 2014 19:33:09 -0800 Subject: Exclude wallpaper and lockscreen wallpaper from fillMissingComponentsWithDefault Change-Id: Ib802b6f3770fae0f15692b111c77ae7eeb242bfb --- src/com/cyngn/theme/chooser/ThemeFragment.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/com/cyngn') 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); -- cgit v1.1