Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Dec 19, 2024
1 parent 7a5d477 commit 8635f21
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ public int onStartCommand(Intent intent, int flags, int startId) {
public static void startService(Context context) {
// this one is called only by VideoProvider at start or when app turns background->foreground
log.debug("startService");
if (! ProcessLifecycleOwner.get().getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) return;
mContext = context;
Intent intent = new Intent(context, VideoStoreImportService.class);
ArchosUtils.addBreadcrumb(SentryLevel.INFO, "VideoStoreImportService.startService", "app in foreground calling startService");
Expand Down

0 comments on commit 8635f21

Please sign in to comment.