fix #1913, prefer the Last Modified value from mediastore, not our db
This commit is contained in:
parent
78f1a74095
commit
6325121969
2 changed files with 4 additions and 2 deletions
|
@ -77,7 +77,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.30.4'
|
||||
implementation 'com.simplemobiletools:commons:5.30.5'
|
||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
||||
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
|
||||
|
|
|
@ -486,7 +486,9 @@ class MediaFetcher(val context: Context) {
|
|||
}
|
||||
|
||||
lastModifiedValues.forEach {
|
||||
lastModifieds[it.fullPath] = it.taken
|
||||
if (!lastModifieds.containsKey(it.fullPath)) {
|
||||
lastModifieds[it.fullPath] = it.lastModified
|
||||
}
|
||||
}
|
||||
|
||||
return lastModifieds
|
||||
|
|
Loading…
Reference in a new issue