mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Fix story text previews.
This commit is contained in:
@@ -96,6 +96,10 @@ public class BlobProvider {
|
||||
return new BlobBuilder(data, fileSize);
|
||||
}
|
||||
|
||||
public static boolean isSingleUseMemoryBlob(Uri uri) throws IOException {
|
||||
return StorageType.decode(uri.getPathSegments().get(STORAGE_TYPE_PATH_SEGMENT)) == StorageType.SINGLE_USE_MEMORY;
|
||||
}
|
||||
|
||||
public synchronized boolean hasStream(@NonNull Context context, @NonNull Uri uri) {
|
||||
waitUntilInitialized();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user