fix background task queue, sorry

This commit is contained in:
irengrig
2011-02-15 18:58:31 +03:00
parent 9bb9798055
commit 4b5668c455
@@ -93,8 +93,13 @@ public class BackgroundTaskQueue {
ProgressManager.getInstance().runProcess(new Runnable() {
@Override
public void run() {
// calls task's run and onCancel() or onSuccess()
RunBackgroundable.runIfBackgroundThread(backgroundable, pi, runnable);
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
@Override
public void run() {
// calls task's run and onCancel() or onSuccess()
RunBackgroundable.runIfBackgroundThread(backgroundable, pi, runnable);
}
});
}
}, pi);
}