Fixed
Status Update
Comments
su...@google.com <su...@google.com>
su...@google.com <su...@google.com> #2
Fix is underway and will be available ASAP. It looks like this is caused by lint not flagging the problem, which is tracked in its own bug: https://issuetracker.google.com/123945223 . That bug should be fixed shortly in Android Studio 3.4 as well.
ra...@google.com <ra...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 472fdd0cec3699825470c759bb648ccdb8835060
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue Feb 05 14:50:22 2019
JobScheduler#getPendingJob() is only available at API 24.
* Lint rules are broken, so we missed this.
Test: Unit tests pass.
Ran integration tests on API 23.
Change-Id: I3046ab14a2e18ca500d6730a7db06c8ede35bc16
Fixes: b/123893059
M work/workmanager/src/main/java/androidx/work/impl/background/systemjob/SystemJobScheduler.java
https://android-review.googlesource.com/895775
https://goto.google.com/android-sha1/472fdd0cec3699825470c759bb648ccdb8835060
Branch: androidx-master-dev
commit 472fdd0cec3699825470c759bb648ccdb8835060
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue Feb 05 14:50:22 2019
JobScheduler#getPendingJob() is only available at API 24.
* Lint rules are broken, so we missed this.
Test: Unit tests pass.
Ran integration tests on API 23.
Change-Id: I3046ab14a2e18ca500d6730a7db06c8ede35bc16
Fixes:
M work/workmanager/src/main/java/androidx/work/impl/background/systemjob/SystemJobScheduler.java
ol...@gmail.com <ol...@gmail.com> #4
No virtual method setExtras(Landroid/os/h;)Landroid/app/job/JobInfo$Builder; in class Landroid/app/job/JobInfo$Builder; or its super classes (declaration of 'android.app.job.JobInfo$Builder' appears in /system/framework/framework.jar) after enabling proguard
Description
Version used: 1.0.0-beta4
Devices/Android versions reproduced on: Crash only appears on Android 6
Crash appears when trying to enqueue a periodic task.
example :
WorkManager.getInstance().enqueueUniquePeriodicWork("UpdateNovel",ExistingPeriodicWorkPolicy.REPLACE,novel)