Instantly share code, notes, and snippets.

Embed
What would you like to do?
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
if (requestCode == SHARING_REQUEST_CODE || requestCode == SETTING_REQUEST_CODE) {
activity!!.revokeUriPermission(imageFileUri, Intent.FLAG_GRANT_READ_URI_PERMISSION)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment