From fdaffe61ab8edeb9384dd7173abe56801546f8e6 Mon Sep 17 00:00:00 2001 From: Jacques Foucry Date: Tue, 30 Aug 2016 17:59:21 +0200 Subject: [PATCH] =?UTF-8?q?Changement=20NOTIFY=5FINTERVAL=20=C3=A0=20tomor?= =?UTF-8?q?rowAtNoon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/net/foucry/pilldroid/TimeService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/TimeService.java b/app/src/main/java/net/foucry/pilldroid/TimeService.java index 45551ee..83930e7 100644 --- a/app/src/main/java/net/foucry/pilldroid/TimeService.java +++ b/app/src/main/java/net/foucry/pilldroid/TimeService.java @@ -15,7 +15,7 @@ import java.util.TimerTask; * Created by jacques on 22/08/16. */ public class TimeService extends Service { - public static final long NOTIFY_INTERVAL = 10 *1000; + //public static final long NOTIFY_INTERVAL = 10 *1000; private Handler mHandler = new Handler(); private Timer mTimer = null; @@ -33,7 +33,7 @@ public class TimeService extends Service { mTimer = new Timer(); } - mTimer.scheduleAtFixedRate(new TimeDisplayTimerTask(),0, NOTIFY_INTERVAL); + mTimer.scheduleAtFixedRate(new TimeDisplayTimerTask(),0, UtilDate.tomorrowAtNoon()); } class TimeDisplayTimerTask extends TimerTask {