Fixed sqlite compilation

pull/215/head
M66B 6 months ago
parent be2a8a279f
commit 239cbc4565

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

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

Loading…
Cancel
Save