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

am: 7c5b1dbb7a

Change-Id: I79a9146042e91d2f773687f73af0a8dcc8ba701e
This commit is contained in:
Amin Shaikh
2019-04-08 19:40:28 -07:00
committed by android-build-merger

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);