Fix async task
This commit is contained in:
parent
3da754b0e2
commit
a0127111f5
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ public class CurrentPositionHelper {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
}.execute((Void) null);
|
||||
}.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, (Void) null);
|
||||
res = true;
|
||||
}
|
||||
return res;
|
||||
|
|
|
@ -103,7 +103,7 @@ public class CurrentPositionHelper {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null);
|
||||
}.executeOnExecutor(AsyncTask.SERIAL_EXECUTOR, (Void) null);
|
||||
res = true;
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue