add test for scheduling notification

This commit is contained in:
jacques 2020-09-22 11:06:01 +02:00
parent 3f4c867421
commit 24e4d35696

View file

@ -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");