Send first sleep timer tick earlier (#6288)
This commit is contained in:
parent
13439e1a48
commit
78bce635c4
|
@ -294,6 +294,7 @@ public class PlaybackServiceTaskManager {
|
|||
public void run() {
|
||||
Log.d(TAG, "Starting");
|
||||
long lastTick = System.currentTimeMillis();
|
||||
EventBus.getDefault().post(SleepTimerUpdatedEvent.updated(timeLeft));
|
||||
while (timeLeft > 0) {
|
||||
try {
|
||||
Thread.sleep(UPDATE_INTERVAL);
|
||||
|
|
Loading…
Reference in New Issue