commit | c07af6a5606da8c5c68df653543d8e8290d75d3b | [log] [tgz] |
---|---|---|
author | Tony de Luna <tonydeluna@chromium.org> | Mon Jan 14 23:34:03 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 14 23:34:03 2019 |
tree | 3143125555cba195f69106c1e36dc8d7dd8cdbed | |
parent | 0207eefb445f9855c2ed46280cb835b6f08bdb30 [diff] |
mobile notifications: update observers Stop subscribing to all network property updates. Subscribe to default network changes to show a notification when cellular becomes the default network. Subscribe to session updates to show the notification if cellular is the default network after a session change. We avoid showing the notification if there are other network connections pending. Subscribe to network connections changes to make sure we don't accidentally miss legitimate updates. Bug: 910767 Change-Id: I189b16cb5fc19428c13848e7eb193952ca6655ac Reviewed-on: https://chromium-review.googlesource.com/c/1399428 Commit-Queue: Tony De Luna <tonydeluna@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#622638}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .