mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-17 18:41:37 +01:00
add test for scheduling notification
This commit is contained in:
parent
3f4c867421
commit
24e4d35696
1 changed files with 2 additions and 3 deletions
|
@ -61,11 +61,10 @@ public class PillDroidJobService extends JobService {
|
|||
e.printStackTrace();
|
||||
}
|
||||
|
||||
// TODO: remove comments when save drugs will wor again
|
||||
if (firstMedicament != null) {
|
||||
//if (firstMedicament.getPrise() != 0) {
|
||||
if (firstMedicament.getPrise() != 0) {
|
||||
scheduleNotification();
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
Log.d(TAG, "Job finished");
|
||||
|
|
Loading…
Reference in a new issue