From 4431260985283192af6e4cdd994f52d71c2ab454 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:18:41 +0100 Subject: [PATCH] fix(deps): update androidx.work to v2.10.0 (#1072) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [androidx.work:work-testing](https://developer.android.com/jetpack/androidx/releases/work#2.10.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `2.9.1` -> `2.10.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/androidx.work:work-testing/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/androidx.work:work-testing/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/androidx.work:work-testing/2.9.1/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/androidx.work:work-testing/2.9.1/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [androidx.work:work-runtime-ktx](https://developer.android.com/jetpack/androidx/releases/work#2.10.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `2.9.1` -> `2.10.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/androidx.work:work-runtime-ktx/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/androidx.work:work-runtime-ktx/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/androidx.work:work-runtime-ktx/2.9.1/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/androidx.work:work-runtime-ktx/2.9.1/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/pachli/pachli-android). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nik Clayton --- app/lint-baseline.xml | 6 +++--- .../pachli/components/notifications/NotificationHelper.kt | 4 ++-- gradle/libs.versions.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index b9aea8a01..6b78431fa 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -1,5 +1,5 @@ - + @@ -1141,7 +1141,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> diff --git a/app/src/main/java/app/pachli/components/notifications/NotificationHelper.kt b/app/src/main/java/app/pachli/components/notifications/NotificationHelper.kt index e033432e2..091651795 100644 --- a/app/src/main/java/app/pachli/components/notifications/NotificationHelper.kt +++ b/app/src/main/java/app/pachli/components/notifications/NotificationHelper.kt @@ -570,13 +570,13 @@ fun enablePullNotifications(context: Context) { // practice that may not be soon enough, so create and enqueue an expedited one-time // request to get new notifications immediately. Timber.d("Enqueing immediate notification worker") - val fetchNotifications: WorkRequest = OneTimeWorkRequest.Builder(NotificationWorker::class.java) + val fetchNotifications: WorkRequest = OneTimeWorkRequest.Builder(NotificationWorker::class) .setExpedited(OutOfQuotaPolicy.DROP_WORK_REQUEST) .setConstraints(Constraints.Builder().setRequiredNetworkType(NetworkType.CONNECTED).build()) .build() workManager.enqueue(fetchNotifications) val workRequest: WorkRequest = PeriodicWorkRequest.Builder( - NotificationWorker::class.java, + NotificationWorker::class, PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS, TimeUnit.MILLISECONDS, PeriodicWorkRequest.MIN_PERIODIC_FLEX_MILLIS, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2a2ea6fa4..cf23badfd 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -25,7 +25,7 @@ androidx-test-core-ktx = "1.6.1" androidx-transition = "1.5.1" androidx-viewpager2 = "1.1.0" androidx-webkit = "1.12.1" -androidx-work = "2.9.1" +androidx-work = "2.10.0" androidx-room = "2.6.1" app-update = "2.1.0" apollographql = "3.8.5"