mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Catch exception on image decoding error in notification
This commit is contained in:
parent
e60715587f
commit
763fa0dd21
@ -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…
Reference in New Issue
Block a user