kopia lustrzana https://github.com/ryukoposting/Signal-Android
Catch exception on image decoding error in notification
rodzic
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue