mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-17 21:47:28 +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)
|
.submit(500, 500)
|
||||||
.get();
|
.get();
|
||||||
} catch (InterruptedException | ExecutionException e) {
|
} catch (InterruptedException | ExecutionException e) {
|
||||||
throw new AssertionError(e);
|
Log.w(TAG, e);
|
||||||
|
return Bitmap.createBitmap(500, 500, Bitmap.Config.RGB_565);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user