[Settings Networking] Fix issue with toggle affecting all networks.
This CL fixes issue with Auto connect toggle button toggling for other networks. This was caused because the updates to fake pref objects that control this toggle is not propagated down to the children, thus the toggle maintains same value from last network detail page. Fixed this by updating the entire pref object instead of just the value sub-property. Bug: 957224 Change-Id: Ic95c2b0ed9f77d9547114fe01acfcc18023c38fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622415 Commit-Queue: Azeem Arshad <azeemarshad@chromium.org> Reviewed-by:Jeremy Klein <jlklein@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#662836}
Showing
Please register or sign in to comment