Skip to content

Commit

Permalink
Fix StatusBarWifiView applying the wrong wifi icon
Browse files Browse the repository at this point in the history
This was introduced in ag/6935095.

Fixes: 130164218
Test: mp sysuig; toggle wifi on and off
Change-Id: I8b945d777bc6f410943494c98c83cd89766c1e4d
  • Loading branch information
SuperAmin authored and SKULSHADY committed Sep 11, 2019
1 parent 5ff2d2e commit 44ea386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void applyWifiState(WifiIconState state) {
private void updateState(WifiIconState state) {
setContentDescription(state.contentDescription);
if (mState.resId != state.resId && state.resId >= 0) {
mWifiIcon.setImageDrawable(mContext.getDrawable(mState.resId));
mWifiIcon.setImageDrawable(mContext.getDrawable(state.resId));
}

mInoutContainer.setVisibility(mShowWifiActivity && state.visible ? View.VISIBLE : View.GONE);
Expand Down

0 comments on commit 44ea386

Please sign in to comment.