Cancelling the sleep timer should now work again

This commit is contained in:
daniel oeh
2012-09-19 12:18:03 +02:00
parent 6c9c4d5f7c
commit 28be600b0e

View File

@ -960,7 +960,7 @@ public class PlaybackService extends Service {
try {
Thread.sleep(UPDATE_INTERVALL);
waitingTime -= UPDATE_INTERVALL;
if (waitingTime <= 0) {
if (AppConfig.DEBUG)
Log.d(TAG, "Waiting completed");
@ -973,6 +973,7 @@ public class PlaybackService extends Service {
}
} catch (InterruptedException e) {
Log.d(TAG, "Thread was interrupted while waiting");
break;
}
}
postExecute();