From 36c2cee6fd57c886fc2035fc6696e29cc3f51e59 Mon Sep 17 00:00:00 2001 From: Sergey Eremin Date: Tue, 8 Aug 2017 03:28:29 +0300 Subject: [PATCH] Status update un rescheduling --- .../github/yeriomin/smsscheduler/Activity/AddSmsActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java b/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java index b1c0ea7..8b60485 100644 --- a/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java +++ b/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java @@ -154,6 +154,7 @@ public void scheduleSms(View view) { if (!validateForm()) { return; } + sms.setStatus(SmsModel.STATUS_PENDING); DbHelper.getDbHelper(this).save(sms); new Scheduler(getApplicationContext()).schedule(sms); setResult(RESULT_SCHEDULED, new Intent());