refresh Media Store
Sends a media scanner broadcast intent that will trigger a re-scanning of the 's original image file. Using this method after saving an ImageDocument ensures that all Android media apps will show the latest version of that image.
This method is a no-op if imageDocument
is not backed by file Uri - i.e. when imageDocument.getImageDocumentSource().getFileUri()
returns null
.
Parameters
context
The context used to fire media scanner broadcast.
image Document
Document to scan.