Currently, it is removed when the user *finishes* connecting to a network.
We currently listen for DefaultNetworkChanged() events (see [1]). Instead, we need to take the same approach used in issue 757556 : observe NetworkStateHandlerObserver::NetworkConnectionStateChanged(), then on any change call NSH::FirstNetworkByType(NetworkTypePattern::Default()) to check the state of the first network. If there is a connected or connecting network, it will always be the first network.
[1] https://cs.chromium.org/chromium/src/chromeos/components/tether/notification_remover.h?q=DefaultNetworkChanged
This bug requires manual review: We are only 6 days from stable.
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), ketakid@(ChromeOS), govind@(Desktop)
For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Comment 1 by khorimoto@chromium.org
, Aug 25 2017