Refactored some of the preview code.

We now have a canPreview method in Attachment
that performs the PreviewIntentUri != null
action. Seeing it in multiple places was bothering me.

Change-Id: I3eedcffb8b5063985cf93ab86876e5170a99fbe0
2 files changed