Commit 0ab196d7 authored by Sajal Narang's avatar Sajal Narang

Change reminder interval to 30 minutes

parent 0c4b8a92
......@@ -119,7 +119,7 @@ public class NotificationIntentService extends JobIntentService {
if (goingEventList != null) {
for (Event event : goingEventList) {
long timediff = getDateDiff(new Date(), event.getEventStartTime(), TimeUnit.MINUTES);
if (timediff <= 50 && timediff > 0) { // Change this to 30*10000 for testing
if (timediff <= 30 && timediff > 0) { // Change this to 30*10000 for testing
NOTIFICATION_ID = event.getEventID().hashCode();
final NotificationCompat.Builder builder = new NotificationCompat.Builder(getApplicationContext(), "INSTIAPP_CHANNEL");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment