Merge "Catch exception when mime type is not supported." am: c1bb4cedbe am: 33ef5e81da am: 7265dbf117
am: 7c8938ed6a

Change-Id: I1abc126936a7d255ab6cf2e2ccc0dcb5590f423d