Merge "Fix StatusBarWifiView applying the wrong wifi icon" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c5b1dbb7a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user