Test that scanFile after rename updates right MIME type

Test that scanFile() after renaming the file extension updates the
correct MIME type from the file metadata.

Bug: 176522651
Test: atest
android.scopedstorage.cts.device.ScopedStorageDeviceTest#testScanUpdatesMimeTypeForRenameFileExtension

Change-Id: Ifaae5b8d08d7ec7188046f072c5777390700fa50
2 files changed