mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
2a644437fb
No sticker packs are available for use yet, but we now have the latent ability to send and receive.
22 lines
697 B
Java
22 lines
697 B
Java
package org.thoughtcrime.securesms.mms;
|
|
|
|
|
|
import android.content.Context;
|
|
import android.net.Uri;
|
|
import android.support.annotation.NonNull;
|
|
import android.support.annotation.Nullable;
|
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
|
import org.thoughtcrime.securesms.util.MediaUtil;
|
|
|
|
public class TextSlide extends Slide {
|
|
|
|
public TextSlide(@NonNull Context context, @NonNull Attachment attachment) {
|
|
super(context, attachment);
|
|
}
|
|
|
|
public TextSlide(@NonNull Context context, @NonNull Uri uri, @Nullable String filename, long size) {
|
|
super(context, constructAttachmentFromUri(context, uri, MediaUtil.LONG_TEXT, size, 0, 0, true, filename, null, null, false, false));
|
|
}
|
|
}
|