2014-02-20 05:06:54 +00:00
|
|
|
package org.thoughtcrime.securesms.mms;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
|
2015-10-13 01:25:05 +00:00
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
2014-02-20 05:06:54 +00:00
|
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
|
2015-10-13 01:25:05 +00:00
|
|
|
import java.util.List;
|
|
|
|
|
2014-02-20 05:06:54 +00:00
|
|
|
import ws.com.google.android.mms.pdu.PduBody;
|
|
|
|
|
|
|
|
public class OutgoingSecureMediaMessage extends OutgoingMediaMessage {
|
|
|
|
|
2015-10-13 01:25:05 +00:00
|
|
|
public OutgoingSecureMediaMessage(Recipients recipients, String body,
|
|
|
|
List<Attachment> attachments,
|
|
|
|
long sentTimeMillis,
|
2016-08-16 03:23:56 +00:00
|
|
|
int distributionType,
|
|
|
|
long expiresIn)
|
2014-02-20 05:06:54 +00:00
|
|
|
{
|
2016-08-16 03:23:56 +00:00
|
|
|
super(recipients, body, attachments, sentTimeMillis, -1, expiresIn, distributionType);
|
2014-02-20 05:06:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public OutgoingSecureMediaMessage(OutgoingMediaMessage base) {
|
|
|
|
super(base);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isSecure() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|