mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Remove thumbnails from the AttachmentDatabase.
Glide can do everything for us now, including video thumbnails.
This commit is contained in:
@@ -344,8 +344,8 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
|
||||
}
|
||||
|
||||
private static Optional<Uri> getThumbnailUri(@Nullable Slide slide) {
|
||||
if (slide != null && !slide.isInProgress() && slide.getThumbnailUri() != null) {
|
||||
return Optional.of(slide.getThumbnailUri());
|
||||
if (slide != null && !slide.isInProgress() && slide.getUri() != null) {
|
||||
return Optional.of(slide.getUri());
|
||||
} else {
|
||||
return Optional.absent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user