FPII-1857: Don't allow cachedFile Attachments if the content Uri is pointing to EmailProvider.

Don't allow cachedFile Attachments if the content Uri is pointing to EmailProvider.

This is to backport a security fix reported by b/27308057 and b/27335139.
Also, add Analytics for these errors.

Bug: b/27335139
Change-Id: I75f6d8f5feb9fc611aa2e429e2b22cbd07223ab9
(cherry picked from commit a2e8a8006485453ea1e5d5addb8a8234ea739bf3)
1 file changed