My current Android app employs androidx.work:work-runtime:2.2.0-rc01
androidx.work:work-runtime:2.2.0-rc01
My Worker code resembles this:-
class SyncWorker(context: Context,
The bug is already fixed in version 2.3.0-alpha02 and higher. So I changed my dependencies and I couldn't reproduce it anymore:
implementation "androidx.work:work-runtime:2.3.0-alpha03"