Use Util.sleepQuietly() for all sleeps

This commit is contained in:
Joshua Bahnsen 2014-02-09 21:32:15 -07:00
parent 50826eaece
commit 687d8fcdc4
2 changed files with 2 additions and 2 deletions

View File

@ -2182,7 +2182,7 @@ public class DownloadServiceImpl extends Service implements DownloadService
cachedPosition = mediaPlayer.getCurrentPosition();
}
Thread.sleep(50L);
Util.sleepQuietly(25L);
}
catch (Exception e)
{

View File

@ -260,7 +260,7 @@ public class StreamProxy implements Runnable
if (cbSentThisBatch == 0)
{
Log.d(TAG, String.format("Blocking until more data appears (%d)", cbToSend));
Thread.sleep(1000);
Util.sleepQuietly(1000L);
}
}
}