Merge "Fixed Security Exception issue when inflating notification"

This commit is contained in:
TreeHugger Robot
2018-02-20 19:30:42 +00:00
committed by Android (Google) Code Review

View File

@@ -97,7 +97,7 @@ public class MessagingImageMessage extends ImageView implements MessagingMessage
Drawable drawable;
try {
drawable = LocalImageResolver.resolveImage(message.getDataUri(), getContext());
} catch (IOException e) {
} catch (IOException | SecurityException e) {
e.printStackTrace();
return false;
}