Bug P3
Status Update
Comments
ra...@google.com <ra...@google.com> #3
Thank you for the quick fix.
Is there an ETA for the next release?
Is there an ETA for the next release?
19...@gmail.com <19...@gmail.com> #4
2.2.0-rc01 should be out this week.
yu...@schimke.ee <yu...@schimke.ee> #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
ys...@google.com <ys...@google.com> #7
ping.
se...@google.com <se...@google.com> #8
Yeah, it is in the state of "one of the top features that we want to enable", but with scarce resources didn't get around to actually do it.
ap...@google.com <ap...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-main
commit ba07ebdc49528ac69613916f852eaffabd2404ff
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Apr 03 17:42:25 2024
Add the ability to automatically emit perfetto traces for WorkRequest execution.
Bug: 260214125
Test: Updated WorkerWrapperTest
Relnote: Added the ability to emit trace spans via a configurable @RestrictTo `Tracer` in WorkManager.
Change-Id: I17d7f0ec2b1947d09d568ca1f69ea6fee64c713c
M work/work-multiprocess/src/main/java/androidx/work/multiprocess/parcelable/ParcelableWorkRequest.java
M work/work-runtime/api/current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/build.gradle
M work/work-runtime/src/androidTest/java/androidx/work/impl/WorkerWrapperTest.java
M work/work-runtime/src/main/java/androidx/work/Configuration.kt
A work/work-runtime/src/main/java/androidx/work/Tracer.kt
M work/work-runtime/src/main/java/androidx/work/WorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkDatabase.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkerWrapper.kt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
A work/work-runtime/src/schemas/androidx.work.impl.WorkDatabase/23.json
https://android-review.googlesource.com/2835705
Branch: androidx-main
commit ba07ebdc49528ac69613916f852eaffabd2404ff
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Wed Apr 03 17:42:25 2024
Add the ability to automatically emit perfetto traces for WorkRequest execution.
Bug: 260214125
Test: Updated WorkerWrapperTest
Relnote: Added the ability to emit trace spans via a configurable @RestrictTo `Tracer` in WorkManager.
Change-Id: I17d7f0ec2b1947d09d568ca1f69ea6fee64c713c
M work/work-multiprocess/src/main/java/androidx/work/multiprocess/parcelable/ParcelableWorkRequest.java
M work/work-runtime/api/current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/build.gradle
M work/work-runtime/src/androidTest/java/androidx/work/impl/WorkerWrapperTest.java
M work/work-runtime/src/main/java/androidx/work/Configuration.kt
A work/work-runtime/src/main/java/androidx/work/Tracer.kt
M work/work-runtime/src/main/java/androidx/work/WorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkDatabase.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkerWrapper.kt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
A work/work-runtime/src/schemas/androidx.work.impl.WorkDatabase/23.json
Description
Version used: 2.7.1
Devices/Android versions reproduced on: Emulator + Wear
Apps using WorkManager under benchmarking would benefit from almost automatic tracing of WorkManager executions.
Particularly with libraries like androidx.media3:media3-exoplayer-workmanager, the actual implementations may not be in app code, so it's hard to add manual tracing.
Ideally some additional dependency similar to compose runtime tracing, that when included outputs tracing that will show up in perfetto automatically, explaining app behaviour during the profiling window.