My app receives access to a URI through FLAG_GRANT_READ_URI_PERMISSION | 
FLAG_GRANT_WRITE_URI_PERMISSION | FLAG_GRANT_PERSISTABLE_URI_PERMISSION. It 
then delegates this access to another app using these same flags.

Is it possible for my app to later revoke those permissions it delegated?

Looking for related API's, I found:

ContentResolver.releasePersistableUriPermission - must be called by app 
that holds the permission
Context.revokeUriPermission - not granular enough, and must be called by an 
app that has global write access to the content provider

Is there anything I'm missing?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to