|
|
|
@ -57,6 +57,7 @@ import java.text.DateFormat;
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
import java.util.Calendar;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -532,6 +533,11 @@ public class FragmentDialogSend extends FragmentDialogBase {
|
|
|
|
|
args.putString("title", getString(R.string.title_send_at));
|
|
|
|
|
args.putLong("id", id);
|
|
|
|
|
|
|
|
|
|
Calendar cal = Calendar.getInstance();
|
|
|
|
|
cal.setTimeInMillis(new Date().getTime());
|
|
|
|
|
cal.set(Calendar.MINUTE, cal.get(Calendar.MINUTE) + 30);
|
|
|
|
|
args.putLong("time", cal.getTimeInMillis());
|
|
|
|
|
|
|
|
|
|
FragmentDialogDuration fragment = new FragmentDialogDuration();
|
|
|
|
|
fragment.setArguments(args);
|
|
|
|
|
fragment.setTargetFragment(FragmentDialogSend.this, 1);
|
|
|
|
|