title: Save image from internal storage to gallery through ACTION_VIEW intent
body: <p>I have a chat application. If a user sends an image i save that image to internal storage of the app under </p>
  
  <pre><code>data/data/package_name/....
  </code></pre>
  
  <p>So if the user clicks on that image i send an intent to the system to open it</p>
  
  <pre><code>val uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, File(it.localUri))
         val intent = Intent(Intent.ACTION_VIEW).apply {
         flags = Intent.FLAG_GRANT_READ_URI_PERMISSION
         setDataAndType(uri, "image/*")
      }
      startActivity(intent)
  </code></pre>
  
  <p>The problem is that in the image viewer there is no choice to save the file in the public storage of the phone, in that case in the gallery.
  Is there any way to do that without changing the internal storage default save location of the images in my app?</p>