Fixed sqlite compilation

This commit is contained in:
M66B 2024-06-19 10:28:25 +02:00
parent be2a8a279f
commit 239cbc4565
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ class SupportSQLiteCompat private constructor() {
cursorFactory: CursorFactory
): Cursor {
return sQLiteDatabase.rawQueryWithFactory(
cursorFactory, sql, selectionArgs, editTable,
cursorFactory, sql, selectionArgs, editTable ?: "",
cancellationSignal
)
}

View File

@ -154,7 +154,7 @@ internal class FrameworkSQLiteDatabase(
}
return delegate.rawQueryWithFactory(
cursorFactory, query.sql, EMPTY_STRING_ARRAY, null)
cursorFactory, query.sql, EMPTY_STRING_ARRAY, "")
}
@RequiresApi(16)