commit | eeb8b6052a050c687f8b73ca88373cdb6af10715 | [log] [tgz] |
---|---|---|
author | Tomasz Mikolajewski <mtomasz@google.com> | Thu Jan 28 13:00:12 2016 +0900 |
committer | Tomasz Mikolajewski <mtomasz@google.com> | Thu Jan 28 13:08:27 2016 +0900 |
tree | c34a7e7b1f4f8f88be60337913095c7609cd32e2 | |
parent | 165e2849ff10bc13801dc746043c57826a06669b [diff] |
Cleanup copyDocument and moveDocument in SAF. 1. Unhide the methods in DocumentsProvider. 2. Stop revoking grants, as we shouldn't do that if the documentId doesn't change. Note, we could have an if checking if the ID changed then revoke in call(), but it would be racey, as another file with the same ID might have been created in the meantime on another thread. Change-Id: Ia99853bf11cf416e0b8c0a0e63458dcc09564da9