mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-06 17:41:46 +00:00
committed by
Moxie Marlinspike
parent
f3a4634d30
commit
ae379cd3dd
@@ -10,6 +10,7 @@ import org.thoughtcrime.securesms.crypto.MasterSecret;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import ws.com.google.android.mms.ContentType;
|
||||
import ws.com.google.android.mms.pdu.PduPart;
|
||||
|
||||
public class GifSlide extends ImageSlide {
|
||||
@@ -18,8 +19,8 @@ public class GifSlide extends ImageSlide {
|
||||
super(context, attachment);
|
||||
}
|
||||
|
||||
public GifSlide(Context context, Uri uri, long dataSize) throws IOException {
|
||||
super(context, uri, dataSize);
|
||||
public GifSlide(Context context, Uri uri, long size) throws IOException {
|
||||
super(context, constructAttachmentFromUri(context, uri, ContentType.IMAGE_GIF, size));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user