Glimpse: MediaFlow: Fix typo
Change-Id: I81678b02aa158b3397bb85cb4fdb53c72de94d64
This commit is contained in:
parent
42961be502
commit
70683038e4
|
@ -83,7 +83,7 @@ class MediaFlow(private val context: Context, private val bucketId: Int?) : Quer
|
||||||
val bucketIdIndex = it.getColumnIndex(MediaStore.MediaColumns.BUCKET_ID)
|
val bucketIdIndex = it.getColumnIndex(MediaStore.MediaColumns.BUCKET_ID)
|
||||||
|
|
||||||
val id = it.getLong(idIndex)
|
val id = it.getLong(idIndex)
|
||||||
val buckedId = it.getInt(bucketIdIndex)
|
val bucketId = it.getInt(bucketIdIndex)
|
||||||
val displayName = it.getString(displayNameIndex)
|
val displayName = it.getString(displayNameIndex)
|
||||||
val isFavorite = it.getInt(isFavoriteIndex)
|
val isFavorite = it.getInt(isFavoriteIndex)
|
||||||
val isTrashed = it.getInt(isTrashedIndex)
|
val isTrashed = it.getInt(isTrashedIndex)
|
||||||
|
@ -93,7 +93,7 @@ class MediaFlow(private val context: Context, private val bucketId: Int?) : Quer
|
||||||
|
|
||||||
Media.fromMediaStore(
|
Media.fromMediaStore(
|
||||||
id,
|
id,
|
||||||
buckedId,
|
bucketId,
|
||||||
displayName,
|
displayName,
|
||||||
isFavorite,
|
isFavorite,
|
||||||
isTrashed,
|
isTrashed,
|
||||||
|
|
Loading…
Reference in New Issue