summaryrefslogtreecommitdiffstats
path: root/src/com/cyngn/theme/chooser/ChooserActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyngn/theme/chooser/ChooserActivity.java')
-rw-r--r--src/com/cyngn/theme/chooser/ChooserActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/cyngn/theme/chooser/ChooserActivity.java b/src/com/cyngn/theme/chooser/ChooserActivity.java
index 1a26828..7b14370 100644
--- a/src/com/cyngn/theme/chooser/ChooserActivity.java
+++ b/src/com/cyngn/theme/chooser/ChooserActivity.java
@@ -804,6 +804,8 @@ public class ChooserActivity extends FragmentActivity
c.moveToPosition(-1);
//Default to first wallpaper
mCurrentWallpaperCmpntId.value = DEFAULT_COMPONENT_ID;
+ // clear out the previous map
+ mCurrentTheme.clear();
while(c.moveToNext()) {
int mixkeyIdx = c.getColumnIndex(ThemesContract.MixnMatchColumns.COL_KEY);
int pkgIdx = c.getColumnIndex(ThemesContract.MixnMatchColumns.COL_VALUE);