Fixed
Status Update
Comments
ar...@gmail.com <ar...@gmail.com> #3
Thank you for the quick fix.
Is there an ETA for the next release?
Is there an ETA for the next release?
ra...@google.com <ra...@google.com> #4
2.2.0-rc01 should be out this week.
ra...@google.com <ra...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-master-dev
commit a1957df3709a06f4e6482fb0e4d39ded4f230a70
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Mon Jul 29 09:48:05 2019
Workaround NPE in PersistableBundle.getExtras().
Test: Existing unit tests pass. Ran integration test app.
Fixes: b/138441699
Change-Id: I0b48e0009a7d83c343a3d26112b94c057470c281
M work/workmanager/src/main/java/androidx/work/impl/background/systemjob/SystemJobService.java
https://android-review.googlesource.com/1092870
https://goto.google.com/android-sha1/a1957df3709a06f4e6482fb0e4d39ded4f230a70
Branch: androidx-master-dev
commit a1957df3709a06f4e6482fb0e4d39ded4f230a70
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Mon Jul 29 09:48:05 2019
Workaround NPE in PersistableBundle.getExtras().
Test: Existing unit tests pass. Ran integration test app.
Fixes:
Change-Id: I0b48e0009a7d83c343a3d26112b94c057470c281
M work/workmanager/src/main/java/androidx/work/impl/background/systemjob/SystemJobService.java
ra...@google.com <ra...@google.com> #6
ar...@gmail.com <ar...@gmail.com> #7
Yep, the verbose logging was enabled to produce logs in the initial comment.
ra...@google.com <ra...@google.com> #8
Okay, I think I know what might be going on. Thanks for the logs, that really helped.
ap...@google.com <ap...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 889cad12d1cadf8ee1ec3e031b204cb94e498233
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue May 12 11:35:53 2020
Processor needs to check for both foreground and background work.
* Processor needs to check for enqueued foreground and background work,
so there is only ever 1 `WorkerWrapper` per work request.
Fixes: b/156310133
Test: Existing unit tests pass.
Change-Id: Ib4223565beeb983001bc51d8d45ee417ebf53d62
M work/workmanager/src/main/java/androidx/work/impl/Processor.java
https://android-review.googlesource.com/1309853
Branch: androidx-master-dev
commit 889cad12d1cadf8ee1ec3e031b204cb94e498233
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue May 12 11:35:53 2020
Processor needs to check for both foreground and background work.
* Processor needs to check for enqueued foreground and background work,
so there is only ever 1 `WorkerWrapper` per work request.
Fixes:
Test: Existing unit tests pass.
Change-Id: Ib4223565beeb983001bc51d8d45ee417ebf53d62
M work/workmanager/src/main/java/androidx/work/impl/Processor.java
ar...@gmail.com <ar...@gmail.com> #10
Thanks for the quick fix! Is it possible to check a snapshot of some sort with the included change?
ra...@google.com <ra...@google.com> #11
Yeah we publish our snapshots via
Add this snippet to your build.gradle
file.
allprojects {
repositories {
google()
jcenter()
maven { url 'https://androidx.dev/snapshots/builds/6490637/artifacts/repository' }
}
}
Add this to your dependencies
block:
dependencies {
def work_version = '2.4.0-SNAPSHOT'
implementation "androidx.work:work-runtime:$work_version"
}
ar...@gmail.com <ar...@gmail.com> #12
Just checked the snapshot — works as expected. Thanks again!
ra...@google.com <ra...@google.com> #13
Thanks for confirming !
Description
Put the following code in the
Application
subclass and call thescheduleForegroundWork
method in theonCreate
one.Single
keeps working, the notification remains in place.Single
is disposed, the notification is hidden.Debug logs (2.4.0-alpha03):