Chromium Code Reviews
DescriptionDon't skip ARC ToS due to policies if ArcEnabled is not managed
This fixes unintentional change made in commit
13c620a0df3f13dfb9f43c92faf2b608e0c63215 that made the ARC Terms of
Service screen being skipped when only ArcBackupRestoreEnabled and
ArcLocationServiceEnabled are managed, while the ARC itself is not.
That was an incorrect change, because the user must consent with ARC
Terms when ArcEnabled is not set via policy.
This CL changes this back to the original behavior that was
introduced in commit f392d837d227d79a9b8dec1d298e9c562929c7cf, that is:
> Skip the ARC initial screen during provision when there is nothing
> to be requested from the user on that screen, i.e. when the following
> conditions are all true:
> 1. ArcEnabled policy is set to true;
> 2. ArcBackupRestoreEnabled policy is set to some value;
> 3. ArcLocationServiceEnabled policy is set to some value.
The unit tests are now extended to cover this piece of logic.
BUG=657687
BUG=b/31079732
TEST=new unit tests
Review-Url: https://codereview.chromium.org/2742013002
Cr-Commit-Position: refs/heads/master@{#456302}
Committed: https://chromium.googlesource.com/chromium/src/+/12fb4ebfdafb2660d75e85b8b4d233fd3cfe1507
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||