Merge "Fix StatusBarWifiView applying the wrong wifi icon" into qt-dev
am: 7c5b1dbb7a
Change-Id: I79a9146042e91d2f773687f73af0a8dcc8ba701e
This commit is contained in:
@@ -197,7 +197,7 @@ public class StatusBarWifiView extends FrameLayout implements DarkReceiver,
|
|||||||
private boolean updateState(WifiIconState state) {
|
private boolean updateState(WifiIconState state) {
|
||||||
setContentDescription(state.contentDescription);
|
setContentDescription(state.contentDescription);
|
||||||
if (mState.resId != state.resId && state.resId >= 0) {
|
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);
|
mIn.setVisibility(state.activityIn ? View.VISIBLE : View.GONE);
|
||||||
|
|||||||
Reference in New Issue
Block a user