chromeos: Always show timezone autodetect method menu in settings
When the user manually selects a timezone we keep showing the autodetect method menu, but disable it. This makes the UI shift around less than the old approach, which was to hide the menu. If the user chooses a custom timezone the menu is disabled and it shows the default (IP address) label. This means the label may switch from the WiFi option to the IP address option if the user toggles back and forth between the "Set automatically" and "Choose from list" radio buttoms. Our PM Jesse is OK with this. If policy disables automatic timezones the menu is disabled and the label is 'Automatic time zone detection is disabled'. Before: - automatic: https://screenshot.googleplex.com/TsyNYwjg0HS - manual: https://screenshot.googleplex.com/1eTPHgBqOwF - policy: https://screenshot.googleplex.com/9ZWzTHaawra After: - automatic doesn't change - manual: https://screenshot.googleplex.com/4bf2aG4FwJt - policy: https://screenshot.googleplex.com/KqPh3q7pwQT Bug: 997118 Test: updated browser_tests Change-Id: Ieb5f3d4df887082e981518bddd895ecd8bbf5fd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769234Reviewed-by:Alexander Alekseev <alemate@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#691760}
Showing
Please register or sign in to comment