Skip to content

Instantly share code, notes, and snippets.

@fercarcedo
Created February 20, 2020 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fercarcedo/9f3cb918df5c4b07e33885faa6ea1101 to your computer and use it in GitHub Desktop.
Save fercarcedo/9f3cb918df5c4b07e33885faa6ea1101 to your computer and use it in GitHub Desktop.
private fun overwriteImages(uris: List<Uri>) {
val pendingIntent = MediaStore.createWriteRequest(contentResolver, uris)
startIntentSenderForResult(pendingIntent.intentSender, REQ_CODE, null, 0, 0, 0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment