Commit 0f929baa authored by Ben Chan's avatar Ben Chan Committed by Commit Bot

Fix badge update logic for cellular network icon.

Bug: 776236
Change-Id: I41f84b07f6ebd28434897bb77edcc9254987ec1b
Reviewed-on: https://chromium-review.googlesource.com/727024Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510136}
parent 32072579
......@@ -540,7 +540,7 @@ bool NetworkIconImpl::UpdateWirelessStrengthIndex(const NetworkState* network) {
bool NetworkIconImpl::UpdateCellularState(const NetworkState* network) {
bool dirty = false;
const Badge technology_badge = BadgeForNetworkTechnology(network, icon_type_);
if (technology_badge == technology_badge_) {
if (technology_badge != technology_badge_) {
technology_badge_ = technology_badge;
dirty = true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment