[Background Sync] Fix Chrome wake up time window.
Per the documentation, setting windowEndTime as min_delay will run the task after min_delay has passed, without respecting network type constraints: https://cs.chromium.org/chromium/src/third_party/android_tools/sdk/sources/android-25/android/app/job/JobParameters.java?rcl=347a7c8078a009e98995985b7ab6ec6b35696dea&l=89 This change sets the start time as min_delay for the Chrome wake up task for Background Sync, and sets the end of the window to Integer.MAX, so that network connectivity constraints are always respected. Bug: 924490 Change-Id: I2888127ce1133d5ae262f507180c5aa067e102aa Reviewed-on: https://chromium-review.googlesource.com/c/1480528Reviewed-by:David Trainor <dtrainor@chromium.org> Commit-Queue: Mugdha Lakhani <nator@chromium.org> Cr-Commit-Position: refs/heads/master@{#634611}
Showing
Please register or sign in to comment