Add a direct check to know if sync is paused before providing user demographics.
In its current implementation, IsSyncEnable() does not cover by default the case where sync is in the "paused" state where it will return true when sync is "paused". Considering that we don't want demographics to be provided when sync is "paused", we need to add an explicit check for the "paused" state before providing demographics. Bug: 988825 Change-Id: Ic62a2a6a43468ad3980d7d1fc0e127ba6241579e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724638 Commit-Queue: Vincent Boisselle <vincb@google.com> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#682735}
Showing
Please register or sign in to comment