Stop setting PRIVACY_METRICS_REPORTING pref on FRE startup.
This change removes the default [re]seting of This change is needed because CCTs with policy CCTToSDialogEnabled skips the FRE. This flow doesn't accept the ToS, and doesn't overwrite to the PRIVACY_METRICS_REPORTING pref. But very early in the FRE startup/flow, this pref is blindly written with the default (true), and that value is persisted forward for the CCT skip, when really we want the value to be false. The theory here is that we didn't actually need to set this pref. It seems to have been initially written to seed the checkbox state, see https://crrev.com/978653002 , but that changed when the default flipped in https://crrev.com/2275513003 . See associated bug for more details. This change also removes the temporary hack added in https://crrev.com/c/2416885 to support CCTs that skip the ToS. Bug: 1128955 Change-Id: I9cbb9e3db2eeb9278519759b955c7976584c0e78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416932Reviewed-by:Wenyu Fu <wenyufu@chromium.org> Commit-Queue: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#839806}
Showing
Please register or sign in to comment