summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2019-04-09 00:19:24 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-04-09 00:19:24 +0000
commit7c5b1dbb7adb7543f124f9e4636328d777d4f58a (patch)
tree4a1c25fc7f90d75f7f58ecf2a71684ded834cc9a
parent351b1e8b60424f398d99bea2246aaf0a8441587d (diff)
parentc0f743e023062760cef1b349c1ec5ee7350706b7 (diff)
Merge "Fix StatusBarWifiView applying the wrong wifi icon" into qt-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/StatusBarWifiView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarWifiView.java b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarWifiView.java
index 351627980c08..23e2d277034d 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarWifiView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarWifiView.java
@@ -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);