summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-06-30 18:40:06 -0700
committerClark Scheff <clark@cyngn.com>2014-06-30 18:40:06 -0700
commitda02291592d45f83882a58eee4512ad227262efe (patch)
treedc5a7c41b6bad3cbbf711c3f0d7932266a72989e
parent2071f7e229e34cf716ad0d99bc5ba51e96b32ab1 (diff)
downloadandroid_packages_providers_ThemesProvider-da02291592d45f83882a58eee4512ad227262efe.tar.gz
android_packages_providers_ThemesProvider-da02291592d45f83882a58eee4512ad227262efe.tar.bz2
android_packages_providers_ThemesProvider-da02291592d45f83882a58eee4512ad227262efe.zip
Don't call insertCapabilities for legacy icon packs.
Change-Id: Ib10a6888259a4da7a2341dc738dc91d0a1839392
-rw-r--r--src/org/cyanogenmod/themes/provider/ThemePackageHelper.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java b/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java
index d602315..f71ab31 100644
--- a/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java
+++ b/src/org/cyanogenmod/themes/provider/ThemePackageHelper.java
@@ -226,9 +226,6 @@ public class ThemePackageHelper {
values.put(ThemesColumns.DATE_CREATED, System.currentTimeMillis());
values.put(ThemesColumns.LAST_UPDATE_TIME, pi.lastUpdateTime);
- // Insert theme capabilities
- insertCapabilities(capabilities, values);
-
String where = ThemesColumns.PKG_NAME + "=?";
String[] args = { pi.packageName };
context.getContentResolver().update(ThemesColumns.CONTENT_URI, values, where, args);