Skip to content

Instantly share code, notes, and snippets.

Created Sep 28, 2018
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