[WebView] Replace use of JobScheduler.getPendingJob (API level 24).
AwVariationsConfigurationService uses JobScheduler.getPendingJob to check whether a specific job is pending. This method was introduced in Android version 24, but WebView supports version 21+, so replace the use of JobScheduler.getPendingJob with JobScheduler.getAllPendingJobs instead. Bug: 762607 Change-Id: Ia05815e73690ec0deff78d8d78b04d63376ec255 Reviewed-on: https://chromium-review.googlesource.com/664722 Commit-Queue: Gustav Sennton <gsennton@chromium.org> Reviewed-by:Tobias Sargeant <tobiasjs@chromium.org> Cr-Commit-Position: refs/heads/master@{#501672}
Showing
Please register or sign in to comment