Android 2.0 release 1
DO NOT MERGE. Prevent duplication of POP3 attachments

* For each attachment we add, check the DB for an existing attachment
  with similar metadata (name, mime type, content id, etc.)
* Skip adding them if already held
* Unit tests

Originally fixed in 5b0a12c1991988 / CL I036f39c6

Fixes bug http://b/2084704
3 files changed