Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Override
public void onActivityPaused(Activity activity) {
if (activity.getIntent() == null
|| !activity.getIntent().getBooleanExtra(BackgroundJobService.SKIP_BG_CHECK, false)) {
BackgroundJobService.enqueueWork(activity);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment