Backport of the JobScheduler API introduced in Android 5.0