use of org.whispersystems.jobqueue.JobManager in project Signal-Android by WhisperSystems.
the class MessageSender method sendMms.
private static void sendMms(Context context, long messageId) {
JobManager jobManager = ApplicationContext.getInstance(context).getJobManager();
jobManager.add(new MmsSendJob(context, messageId));
}
use of org.whispersystems.jobqueue.JobManager in project Signal-Android by WhisperSystems.
the class MessageSender method sendSms.
private static void sendSms(Context context, Recipients recipients, long messageId) {
JobManager jobManager = ApplicationContext.getInstance(context).getJobManager();
jobManager.add(new SmsSendJob(context, messageId, recipients.getPrimaryRecipient().getName()));
}
Aggregations