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

[Bug] The getter for WorkManager considers the app context #2122

Merged
merged 1 commit into from
Jun 13, 2024

Commits on Jun 13, 2024

  1. Getter for WorkManager considers the app context

    * We were getting the WorkManager instance via `WorkManagerImpl.getInstance()` and initializing it with a blank Configuration when the getter returned null.
    * However, we should use `WorkManagerImpl.getInstance(Context)` instead as this getter will allow for on-demand initialization with the app's custom WorkManager.
    nan-li committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c4b664c View commit details
    Browse the repository at this point in the history