Revert "[CrOS MultiDevice] Update password requirements for Connected Devices."
This reverts commit 28e953d7. Reason for revert: This CL introduces 2 bugs: 1. The new |featuresToBeEnabledOnceAuthenticated_| queue has features pushed to it regardless of whether the user wants to enable or disable the feature. This means the features intended to be disabled are actually enabled when the dialog is closed. 2. The required corresponding backend change required in multidevice_setup_impl.cc is not implemented, meaning the frontend does not prompt the user for a password in situations where the backend expects it. This creates a jarring breakage for the user. The issue that this is attempting to address should be fixed in M70; instead of merging this broken CL into 70 and then merging a followup, it will be cleaner to revert this CL and then merge a single correct CL into 70. Original change's description: > [CrOS MultiDevice] Update password requirements for Connected Devices. > > It should be required that users enter their password to enable > SmartLock, since it is a security-sensitive feature. As a corollary, it > should also be required that users enter their password to enable the > Better Together suite if doing so would implicitly cause SmartLock to > become enabled. > > Previously, entering a password was required for enabling the Better > Together suite under any circumstances, but this was unnecessary, since > no password should be required if SmartLock were turned off. > > This CL fixes this issue; additionally, it updates the authentication > code here, which was previously not as robust. > > Bug: 876436, 824568 > Change-Id: Ia61dd112675485972361a51b406482a0bb0a1f05 > Reviewed-on: https://chromium-review.googlesource.com/1200148 > Reviewed-by: Tommy Li <tommycli@chromium.org> > Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> > Cr-Commit-Position: refs/heads/master@{#588158} TBR=khorimoto@chromium.org,tommycli@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 876436, 824568 Change-Id: Iec397181ac06c31fd911569c9bb4c22eec4a787a Reviewed-on: https://chromium-review.googlesource.com/1208954Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#589292}
Showing
Please register or sign in to comment