question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method getAllJobsForTag all time return 0 on Android 4

See original GitHub issue

Hi guys!

I using the latest version 1.1.6 and have some problem while checking my jobs. I run this code for checking already scheduled jobs: int jobsSize = JobManager.instance().getAllJobsForTag(MY_JOB_TAG).size()

Speaking about android OS 5, 6, 7 this works perfectly and jobsSize doesn`t equals 0. but on android OS 4 jobsSize all time is 0.

Could you help me? Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
vRallevcommented, Feb 21, 2017

Are you sure that you want to get all jobs? That returns only jobs which are currently running or just finished. Whereas JobManager.instance().getAllJobRequestsForTag("TAG") returns all pending jobs.

0reactions
vRallevcommented, Mar 9, 2017

Closing because of inactivity

Read more comments on GitHub >

github_iconTop Results From Across the Web

why getSpeed() always return 0 on android - Stack Overflow
This is a value that you can set for a location object. To calculate the speed using GPS, you'll have to do a...
Read more >
TelephonyManager - Android Developers
The returned TelephonyManager will use the default subscription for all calls. To call an API for a specific subscription, use createForSubscriptionId(int) ...
Read more >
Known issues with Android Studio and Android Gradle Plugin
This page tracks known issues with Android Studio Dolphin | 2021.3.1 and Android Gradle plugin 7.3.1. If you experience an issue not already...
Read more >
Sensors Overview | Android Developers
This class provides various methods for accessing and listing sensors, ... Another useful method is the getMinDelay() method, which returns the minimum time...
Read more >
Android 8.0 Features and APIs
Highlights of what's new for developers in Android 8.0 Oreo. ... Make sure that you override the refresh() method to return true ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found