From b268187e9bde8dce37fab8e40522430ca86725c1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 27 Apr 2018 21:20:40 +0200 Subject: [PATCH] update commons to 3.19.24 --- app/build.gradle | 2 +- .../thankyou/dbhelpers/MyContentProviderDbHelper.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 51fbfb5..22d4092 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,7 +41,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:3.19.22' + implementation 'com.simplemobiletools:commons:3.19.24' } Properties props = new Properties() diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/dbhelpers/MyContentProviderDbHelper.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/dbhelpers/MyContentProviderDbHelper.kt index 80e5136..9cf1c91 100644 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/dbhelpers/MyContentProviderDbHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/thankyou/dbhelpers/MyContentProviderDbHelper.kt @@ -6,6 +6,7 @@ import android.database.Cursor import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper import com.simplemobiletools.commons.R +import com.simplemobiletools.commons.helpers.MyContentProvider.Companion.COL_APP_ICON_COLOR import com.simplemobiletools.commons.helpers.MyContentProvider.Companion.COL_BACKGROUND_COLOR import com.simplemobiletools.commons.helpers.MyContentProvider.Companion.COL_ID import com.simplemobiletools.commons.helpers.MyContentProvider.Companion.COL_LAST_UPDATED_TS @@ -69,7 +70,7 @@ class MyContentProviderDbHelper private constructor(private val context: Context } fun getSharedTheme(): Cursor? { - val cols = arrayOf(COL_TEXT_COLOR, COL_BACKGROUND_COLOR, COL_PRIMARY_COLOR, COL_LAST_UPDATED_TS) + val cols = arrayOf(COL_TEXT_COLOR, COL_BACKGROUND_COLOR, COL_PRIMARY_COLOR, COL_APP_ICON_COLOR, COL_LAST_UPDATED_TS) val selection = "$COL_ID = ?" val selectionArgs = arrayOf(THEME_ID.toString()) return mDb.query(TABLE_NAME, cols, selection, selectionArgs, null, null, null)