summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Mertz <scott@cyngn.com>2015-02-24 12:46:19 -0800
committerClark Scheff <clark@cyngn.com>2015-02-26 12:37:08 -0800
commita62acf197f78f7c28e83609dfb1594e714dd0af9 (patch)
tree9048541c71370f4e423a46f411e03b339201e67f
parent638c8050f566aa5bfb9cf28f9e9bf6965e7a0c43 (diff)
downloadandroid_packages_providers_ThemesProvider-a62acf197f78f7c28e83609dfb1594e714dd0af9.zip
android_packages_providers_ThemesProvider-a62acf197f78f7c28e83609dfb1594e714dd0af9.tar.gz
android_packages_providers_ThemesProvider-a62acf197f78f7c28e83609dfb1594e714dd0af9.tar.bz2
close more cursors...stable/cm-12.0-YNG1I
Change-Id: Iae1d13aa29807357f2c7615a40ac2de98d6f0b04
-rw-r--r--src/org/cyanogenmod/themes/provider/ThemePackageHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java b/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java
index 64f3a3c..053473e 100644
--- a/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java
+++ b/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java
@@ -36,8 +36,6 @@ import android.util.Log;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
import java.util.Map;
import static android.content.res.ThemeConfig.SYSTEMUI_NAVBAR_PKG;
@@ -234,6 +232,8 @@ public class ThemePackageHelper {
}
}
}
+ mixnmatch.close();
+
ThemeManager manager = (ThemeManager) context.getSystemService(Context.THEME_SERVICE);
manager.requestThemeChange(builder.build(), false);