|
|
|
@ -240,10 +240,12 @@ public class ActFmSyncThread {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
private void incrementProgress() {
|
|
|
|
private void incrementProgress() {
|
|
|
|
|
|
|
|
synchronized (progressBarLock) {
|
|
|
|
if (activity != null) {
|
|
|
|
if (activity != null) {
|
|
|
|
activity.runOnUiThread(incrementProgressRunnable);
|
|
|
|
activity.runOnUiThread(incrementProgressRunnable);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public synchronized void setTimeForBackgroundSync(boolean isTimeForBackgroundSync) {
|
|
|
|
public synchronized void setTimeForBackgroundSync(boolean isTimeForBackgroundSync) {
|
|
|
|
this.isTimeForBackgroundSync = isTimeForBackgroundSync;
|
|
|
|
this.isTimeForBackgroundSync = isTimeForBackgroundSync;
|
|
|
|
|