Skip to content

Commit 3d30590

Browse files
committed
SystemUI: Fix data activity overlay not being removed when data is disabled
If mobile data connection is disabled while there is active data activity, the data activity overlay will not be removed and will be stuck there. This patch fixes that. Change-Id: I4cc1a14bb2e2d85687752657608e5989adfe9af1
1 parent d2237df commit 3d30590

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,8 @@ void refreshViews() {
968968
combinedActivityIconId = mMobileActivityIconId;
969969
combinedSignalIconId = mDataSignalIconId; // set by updateDataIcon()
970970
mContentDescriptionCombinedSignal = mContentDescriptionDataType;
971+
} else {
972+
mMobileActivityIconId = 0;
971973
}
972974
}
973975

0 commit comments

Comments
 (0)