[Nearby] Save contact visibility once on exit
The contact visibility page was updating the visibility pref and making an api request to sync the allowed contacts list every time the controls on the page were pressed/toggled. This CL instead saves the page state once when the page closes. Fixed: 1131269 Change-Id: Iaf6e5138b029450df083179994cba7f67ee0f5c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2606716 Commit-Queue: Curt Clemens <cclem@google.com> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#839809}
Showing
Please register or sign in to comment