diff --git a/src/com/archos/mediacenter/utils/trakt/TraktService.java b/src/com/archos/mediacenter/utils/trakt/TraktService.java index 35659552..63eb9d29 100644 --- a/src/com/archos/mediacenter/utils/trakt/TraktService.java +++ b/src/com/archos/mediacenter/utils/trakt/TraktService.java @@ -124,7 +124,7 @@ public class TraktService extends Service implements DefaultLifecycleObserver { private static final long TRAKT_SYNC_DELAY = 30; // in sec - private static volatile boolean isForeground = false; + private static volatile boolean isForeground = true; private NetworkState networkState = null; private PropertyChangeListener propertyChangeListener = null; diff --git a/src/com/archos/mediaprovider/video/NetworkAutoRefresh.java b/src/com/archos/mediaprovider/video/NetworkAutoRefresh.java index df1034c3..f974f27d 100644 --- a/src/com/archos/mediaprovider/video/NetworkAutoRefresh.java +++ b/src/com/archos/mediaprovider/video/NetworkAutoRefresh.java @@ -51,7 +51,7 @@ public class NetworkAutoRefresh extends BroadcastReceiver implements DefaultLife private static final Logger log = LoggerFactory.getLogger(NetworkAutoRefresh.class); - private static volatile boolean isForeground = false; + private static volatile boolean isForeground = true; private static Application mApplication; public static final String ACTION_RESCAN_INDEXED_FOLDERS = "com.archos.mediaprovider.video.NetworkAutoRefresh"; diff --git a/src/com/archos/mediaprovider/video/RemoteStateService.java b/src/com/archos/mediaprovider/video/RemoteStateService.java index 3fd803db..e6e331e4 100644 --- a/src/com/archos/mediaprovider/video/RemoteStateService.java +++ b/src/com/archos/mediaprovider/video/RemoteStateService.java @@ -50,7 +50,7 @@ public class RemoteStateService extends IntentService implements UpnpServiceManager.Listener, DefaultLifecycleObserver { private static final Logger log = LoggerFactory.getLogger(RemoteStateService.class); - private static volatile boolean isForeground = false; + private static volatile boolean isForeground = true; private static final Uri NOTIFY_URI = VideoStore.ALL_CONTENT_URI; private static final Uri SERVER_URI = VideoStore.SmbServer.getContentUri(); diff --git a/src/com/archos/mediaprovider/video/VideoProvider.java b/src/com/archos/mediaprovider/video/VideoProvider.java index 9ad2e351..4f293f30 100644 --- a/src/com/archos/mediaprovider/video/VideoProvider.java +++ b/src/com/archos/mediaprovider/video/VideoProvider.java @@ -90,7 +90,7 @@ public class VideoProvider extends ContentProvider implements DefaultLifecycleOb private final static boolean SKIP_THUMBNAILS = false; - private static volatile boolean isForeground = false; + private static volatile boolean isForeground = true; private DbHolder mDbHolder; private Handler mThumbHandler; diff --git a/src/com/archos/mediascraper/NfoExportService.java b/src/com/archos/mediascraper/NfoExportService.java index 4512da6f..63256cbb 100644 --- a/src/com/archos/mediascraper/NfoExportService.java +++ b/src/com/archos/mediascraper/NfoExportService.java @@ -61,7 +61,7 @@ public class NfoExportService extends IntentService implements DefaultLifecycleO private static final String notifChannelName = "NfoExportService"; private static final String notifChannelDescr = "NfoExportService"; - private static volatile boolean isForeground = false; + private static volatile boolean isForeground = true; /** * simple guard against multiple tasks of the same directory