summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-03-03 00:01:17 (GMT)
committerd34d <clark@cyngn.com>2015-03-03 00:01:17 (GMT)
commit59c61579c13cb257e603c28b1c51f6eff64fe2dc (patch)
tree87d740cdb98a7b206e9a847f33ec2b8cd74405fb /src
parentc1c81b6ec94c29adb6cfe7734d33eea2421713c6 (diff)
downloadandroid_packages_providers_ThemesProvider-59c61579c13cb257e603c28b1c51f6eff64fe2dc.zip
android_packages_providers_ThemesProvider-59c61579c13cb257e603c28b1c51f6eff64fe2dc.tar.gz
android_packages_providers_ThemesProvider-59c61579c13cb257e603c28b1c51f6eff64fe2dc.tar.bz2
Add value for TARGET_API in insertSystemDefaults
Change-Id: I4923ddc57674fdc8f08ed5f58d42a2dbf0b6f13c
Diffstat (limited to 'src')
-rw-r--r--src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java b/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java
index 6183399..7e747bc 100644
--- a/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java
+++ b/src/org/cyanogenmod/themes/provider/ThemesOpenHelper.java
@@ -26,6 +26,7 @@ import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteOpenHelper;
+import android.os.Build;
import android.provider.ThemesContract;
import android.provider.ThemesContract.ThemesColumns;
import android.provider.ThemesContract.MixnMatchColumns;
@@ -448,6 +449,7 @@ public class ThemesOpenHelper extends SQLiteOpenHelper {
values.put(ThemesColumns.IS_DEFAULT_THEME, isDefault);
values.put(ThemesColumns.IS_LEGACY_ICONPACK, 0);
values.put(ThemesColumns.MODIFIES_OVERLAYS, 1);
+ values.put(ThemesColumns.TARGET_API, Build.VERSION.SDK_INT);
db.insert(TABLE_NAME, null, values);
}
}