[CrOS PhoneHub] Correct TetherConnectionResult::kSuccess logging place.
Previously, this metric was logged in UpdateStatus(), which can be influenced by connecting to a tether network in locations other than via PhoneHub (e.g in OS Settings). This CL adds an attempt connection tracking variable which is checked in UpdateStatus() before logging the success metric. Fixed: 1164570 Bug: 1106937 Change-Id: I9c070b7e644bcd6357bdb78f9b1e8a06bb275349 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622953Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Regan Hsu <hsuregan@chromium.org> Cr-Commit-Position: refs/heads/master@{#842825}
Showing
Please register or sign in to comment