[SmartLock] Do not immediately clear devices if disabled.
The CL crrev.com/c/1788552 introduced logic which immediateyl cleared Smart Lock devices from user prefs when the feature became disabled. Unfortunately, that change did not anticipate the face that Smart Lock goes through an intermediate step during Chrome startup in which the feature is marked as disabled, inadvertently removing the devices even when the feature is enabled. This CL reverts that faulty logic. Bug: 1022651 Change-Id: I39068f5bc92f39f4109aa34dda3f2c0f35adcfcb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906324 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Auto-Submit: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#714350}
Showing
Please register or sign in to comment