Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWoitaschek committed May 13, 2023
1 parent d0e41b2 commit 5515aa2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ internal fun parseContents(uri: Uri, context: Context): List<CachedDocumentFile>
)
return context.contentResolver.query(
childrenUri,
FileContents.columns, null, null, null,
FileContents.columns,
null,
null,
null,
)?.use { cursor ->
val files = mutableListOf<CachedDocumentFile>()
while (cursor.moveToNext()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ internal data class RealCachedDocumentFile(
private val content: FileContents? by lazy {
preFilledContent ?: context.contentResolver.query(
uri,
FileContents.columns, null, null, null,
FileContents.columns,
null,
null,
null,
)?.use { cursor ->
if (cursor.moveToFirst()) {
FileContents.readFrom(cursor)
Expand Down

0 comments on commit 5515aa2

Please sign in to comment.