commit | e1a2ceef30fe9c514152c3fab3cedcb99bdb68df | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Sep 04 14:30:31 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Sep 04 18:43:34 2013 -0700 |
tree | 4b1e57afae9a82c8bab4e4d72b6e1496ae2b4c41 | |
parent | 20b3227eb93024196d92cda07c5cf6cbd10ef1d3 [diff] |
Fix document management permission enforcement. Allow both explicit holders of the MANAGE_DOCUMENTS permission and those holding Uri grants to perform management tasks. Extend grants for newly created documents when caller doesn't have permission. Revoke grants when deleting documents. Test now writes actual content into picked file. Workaround updated flags for Drive app. Bug: 10623211 Change-Id: Ia8e90b33e0fac8294b2cacb96d083c43fdf75aab