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

Commit 057698e5 authored by android-build-team Robot's avatar android-build-team Robot Committed by Android (Google) Code Review
Browse files

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

parents e696cf63 2690a9d7
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);