am 0dd9f4de: MediaScanner: Do not update the file path when updating records already in the database
* commit '0dd9f4de3ed681e83bd79ddcd4fd463093d11ed3': MediaScanner: Do not update the file path when updating records already in the database
This commit is contained in:
@@ -789,6 +789,9 @@ public class MediaScanner
|
||||
} else {
|
||||
// updated file
|
||||
result = ContentUris.withAppendedId(tableUri, rowId);
|
||||
// path should never change, and we want to avoid replacing mixed cased paths
|
||||
// with squashed lower case paths
|
||||
values.remove(MediaStore.MediaColumns.DATA);
|
||||
mMediaProvider.update(result, values, null, null);
|
||||
}
|
||||
if (mProcessGenres && mGenre != null) {
|
||||
|
||||
Reference in New Issue
Block a user