commit | adae7a3dba5b136b0cf7054150af8502325dcb08 | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Tue Sep 09 18:16:25 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Tue Sep 09 18:16:25 2014 -0700 |
tree | 1cbd2f5aaea9cadcde3682b7b9a688cb142990dd | |
parent | 8f369db8d1bce10f9f80f324b428ae08ce193f8a [diff] |
Forward uri permission for compose JB+, use setClipData to forward the permission to the Service so that we have the permission for the attachments for as long as the service is up. For pre-JB, call initializeAttachmentFds on the main thread to ensure that we get those attachments before the activity ends. b/17409336 Change-Id: Ic03c7fbfc39a6c54e96bff69a2c4914ac88361a8