This sample has been deprecated/archived meaning it's read-only and it's no longer actively maintained (more details on archiving can be found here).
Instead of JobScheduler, we recommend using the WorkManager. For a sample in that (and other related samples), check out the new github.com/android/background-tasks-samples repo. Thank you!