Merge "Fixed Security Exception issue when inflating notification"
This commit is contained in:
committed by
Android (Google) Code Review
commit
29f1cdd5d3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user