Merge "Fix StatusBarWifiView applying the wrong wifi icon" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-09 00:19:24 +00:00
committed by Android (Google) Code Review

View File

@@ -197,7 +197,7 @@ public class StatusBarWifiView extends FrameLayout implements DarkReceiver,
private boolean 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));
}
mIn.setVisibility(state.activityIn ? View.VISIBLE : View.GONE);