forked from organicmaps/organicmaps
[android] Moved notification to 16.30 instead of 18.00.
This commit is contained in:
parent
82b53f3713
commit
78485d6439
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ public class WorkerService extends IntentService
|
|||
return;
|
||||
|
||||
Calendar time = Calendar.getInstance();
|
||||
time.set(Calendar.MINUTE, 0);
|
||||
final int hour = 18;
|
||||
time.set(Calendar.MINUTE, 30);
|
||||
final int hour = 16;
|
||||
final int currentHour = time.get(Calendar.HOUR_OF_DAY);
|
||||
if (currentHour > hour)
|
||||
time.roll(Calendar.DAY_OF_MONTH, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue