Remove call to CrosSettings->Set(kSystemTimezone)
crbug.com/433840 says we should split the read and write path for cros settings (or device settings), which will simplify the read path and get rid of its dependency on the write path. Calls to CrosSettings->Set(kSystemTimezone) don't actually affect signed device settings (unlike other cros settings), but end up calling TimezoneSettings->SetTimezone. We can simplify the cros settings interface by calling this directly. This CL replaces the last call to CrosSettings->Set(kSystemTimezone) with an equivalent call to timezone_util, which also delegates to TimezoneSettings. Bug: 433840 Change-Id: Ibaac986323cb286eab83ec7c0b29780dc2ef7d87 Reviewed-on: https://chromium-review.googlesource.com/c/1326144Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Commit-Queue: A Olsen <olsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#607186}
Showing
Please register or sign in to comment