[EoS] Fix background task scheduling

When we added a helper function to compute enabled state from the
variation the boolean condition was reversed, causing clients that
are enabled to cancel their background task (and not do any processing)
and the clients that are disabled to continue to do work.

Bug: 929371
Change-Id: I168b01644d0248c98a9af78cc7f674d541584fa4
Reviewed-on: https://chromium-review.googlesource.com/c/1456985
Reviewed-by: Cathy Li <chili@chromium.org>
Commit-Queue: Justin DeWitt <dewittj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629762}
2 files changed