Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0f743e0 authored by Amin Shaikh's avatar Amin Shaikh
Browse files

Fix StatusBarWifiView applying the wrong wifi icon

This was introduced in ag/6935095.

Fixes: 130164218
Test: mp sysuig; toggle wifi on and off
Change-Id: I8b945d777bc6f410943494c98c83cd89766c1e4d
parent 2470fdb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);