commit | 21483a4a65a82563ed4248cef567f547c7446687 | [log] [tgz] |
---|---|---|
author | Régis Décamps <regisd@google.com> | Wed Feb 10 19:34:14 2016 +0100 |
committer | Régis Décamps <regisd@google.com> | Tue Feb 16 13:45:51 2016 +0100 |
tree | d13bc8799a19591a2a9e83bc87deef7e11f6d5ef | |
parent | cc74292a319a2802dc1915c713ca174ad1a15c33 [diff] |
Disallow attachments from file:///data/ Disallow third-party applications to send a share intent with a file:///data/... Uri because that would expose internal application data. If the Intent Uri is a "file" and the file is in `Environment.getDataDirectory()`, then throw a AttachmentFailureException which is caught immediately and shows a toast to the user. Fix issue 199888 Fix b/26989185 Change-Id: Ice1d3382d52d2ab97cddc3e9c0b2dd29819b664f