mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-17 18:41:37 +01:00
Changement NOTIFY_INTERVAL à tomorrowAtNoon
This commit is contained in:
parent
37468beb9e
commit
fdaffe61ab
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue