mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-02 15:36:32 +00:00
committed by
Moxie Marlinspike
parent
e83827ab75
commit
946c43940b
@@ -129,7 +129,7 @@ public class AttachmentDatabase extends Database {
|
||||
try {
|
||||
InputStream generatedStream = thumbnailExecutor.submit(new ThumbnailFetchCallable(masterSecret, attachmentId)).get();
|
||||
|
||||
if (generatedStream == null) throw new IOException("No thumbnail stream available: " + attachmentId);
|
||||
if (generatedStream == null) throw new FileNotFoundException("No thumbnail stream available: " + attachmentId);
|
||||
else return generatedStream;
|
||||
} catch (InterruptedException ie) {
|
||||
throw new AssertionError("interrupted");
|
||||
|
||||
Reference in New Issue
Block a user