UserEventServiceImpl: Check IsSyncFeatureEnabled
If IsSyncFeatureEnabled is false, then GetPreferredDataTypes doesn't really mean anything. In practice, this wasn't an actual issue: If Sync isn't enabled, then the whole UserEventService can't upload anything anyway. But still best to be precise here. Bug: 907027, 856081 Change-Id: I2e3ee7200118175ed9397b5a1b7d9fedd0eb7692 Reviewed-on: https://chromium-review.googlesource.com/c/1344104Reviewed-by:vitaliii <vitaliii@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#610022}
Showing
Please register or sign in to comment