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

Commit 6f206165 authored by android-build-team Robot's avatar android-build-team Robot Committed by android-build-merger
Browse files

Merge "Use Wi-Fi content description in StatusBarWifiView" into pi-dev

am: 057698e5

Change-Id: Ibe278a8d5830b7345de40feda17390e09d3dab20
parents 6f0b8dfe 057698e5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -191,6 +191,7 @@ public class StatusBarWifiView extends FrameLayout implements DarkReceiver,
    }

    private void updateState(WifiIconState state) {
        setContentDescription(state.contentDescription);
        if (mState.resId != state.resId && state.resId >= 0) {
            NeutralGoodDrawable drawable = NeutralGoodDrawable
                    .create(mLightContext, mDarkContext, state.resId);
@@ -212,6 +213,7 @@ public class StatusBarWifiView extends FrameLayout implements DarkReceiver,
    }

    private void initViewState() {
        setContentDescription(mState.contentDescription);
        if (mState.resId >= 0) {
            NeutralGoodDrawable drawable = NeutralGoodDrawable.create(
                    mLightContext, mDarkContext, mState.resId);