mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 02:39:23 +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) {
|
if (ourSynchronizationThread == null) {
|
||||||
ourSynchronizationThread = new Thread() {
|
ourSynchronizationThread = new Thread() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
try {
|
||||||
|
sleep(10000);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
}
|
||||||
final long start = System.currentTimeMillis();
|
final long start = System.currentTimeMillis();
|
||||||
int count = 0;
|
int count = 0;
|
||||||
final Map<SyncStatus,Integer> statusCounts = new HashMap<SyncStatus,Integer>();
|
final Map<SyncStatus,Integer> statusCounts = new HashMap<SyncStatus,Integer>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue