mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
10 sec delay on SynchroniserService start
This commit is contained in:
parent
00a3438dc3
commit
c80c3aff9d
1 changed files with 4 additions and 0 deletions
|
@ -165,6 +165,10 @@ public class SynchroniserService extends Service implements IBookCollection.List
|
|||
if (ourSynchronizationThread == null) {
|
||||
ourSynchronizationThread = new Thread() {
|
||||
public void run() {
|
||||
try {
|
||||
sleep(10000);
|
||||
} catch (InterruptedException e) {
|
||||
}
|
||||
final long start = System.currentTimeMillis();
|
||||
int count = 0;
|
||||
final Map<SyncStatus,Integer> statusCounts = new HashMap<SyncStatus,Integer>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue