Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the crash when the app runs scheduled jobs #3164

Closed
artemiv4nov opened this issue Oct 23, 2019 · 2 comments
Closed

Fix the crash when the app runs scheduled jobs #3164

artemiv4nov opened this issue Oct 23, 2019 · 2 comments
Assignees
Milestone

Comments

@artemiv4nov
Copy link
Contributor

More about the crash: https://sentry.adguard.com/adg/adguard-android-rs/issues/32155/?query=is:unresolved

@artemiv4nov artemiv4nov added this to the 3.3 milestone Oct 23, 2019
@admitrevskiy
Copy link

From SystemJobScheduler documentation:

    /**
     * Always wrap a call to getAllPendingJobs(), schedule() and cancel() with a try catch as there
     * are platform bugs with several OEMs in API 23, which cause this method to throw Exceptions.
     *
     * For reference: b/133556574, b/133556809, b/133556535
     */

@artemiv4nov
Copy link
Contributor Author

@admitrevskiy So, we have to implement some checks to our job-related code.

@artemiv4nov artemiv4nov self-assigned this Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants