Skip to content

Commit 7d60f88

Browse files
intervigiliumGerrit Code Review
authored andcommitted
SystemUI: Check current data subscription when updating signal cluster
* Checking connected and data state is insufficient when updating the signal cluster, for multi-SIM use we need to check whether the current signal controller has the data subscription as well, otherwise it's possible for both clusters to display the data tech simultaneously. REF: KIPPER-702 Change-Id: I1dd2994271df2c42deb8e9aeb7c01798a6cfd2ca
1 parent 453e8f2 commit 7d60f88

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ private final void updateTelephony() {
395395
mCurrentState.iconGroup = mDefaultIcons;
396396
}
397397
mCurrentState.dataConnected = mCurrentState.connected
398-
&& mDataState == TelephonyManager.DATA_CONNECTED;
398+
&& mDataState == TelephonyManager.DATA_CONNECTED
399+
&& mCurrentState.dataSim;
399400

400401
mCurrentState.showSeparateRoaming = false;
401402
if (isCarrierNetworkChangeActive()) {

0 commit comments

Comments
 (0)