am 697c046e: Prevent NPE in Gmail while viewing photo from attachment

* commit '697c046e3f0632f698d269423b62bb53a7d37a32':
  Prevent NPE in Gmail while viewing photo from attachment