Fixed
Status Update
Comments
sa...@saket.me <sa...@saket.me> #3
Thank you for the quick fix.
Is there an ETA for the next release?
Is there an ETA for the next release?
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #4
2.2.0-rc01 should be out this week.
se...@google.com <se...@google.com>
na...@google.com <na...@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
Description
Component used: WorkManager Version used: 2.7.1 Devices/Android versions reproduced on: all
When Worker throws an exception, current default behavior is to log this exception to Logcat. There is no way to customize this behavior.
Some applications might want to have a different behavior. One example would be to use a custom logger, or upload an analytics event when such a case happens.
Today, Configuration class already provides a way to handle exception during initialization and during scheduling. This feature requests is to add a similar mechanism to handle exceptions from worker.