Catch exception on image decoding error in notification
This commit is contained in:
parent
e60715587f
commit
763fa0dd21
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
|
|||
.submit(500, 500)
|
||||
.get();
|
||||
} catch (InterruptedException | ExecutionException e) {
|
||||
throw new AssertionError(e);
|
||||
Log.w(TAG, e);
|
||||
return Bitmap.createBitmap(500, 500, Bitmap.Config.RGB_565);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue