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

Commit 3e511afa authored by haiyangl's avatar haiyangl Committed by Linux Build Service Account
Browse files

SystemUI: Update the service state of NetworkController

MSimNetworkController doesn't update NetworkController.mServiceState when
service state changes, so mServiceState always point to the old object.

Update mServiceState to make sure NetworkController check emergency call
only state correctly.

CRs-Fixed: 708875

Change-Id: Iacfdb20831459e1afc50c9b957543fcd5d62e04c
parent 7f23b609
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -465,6 +465,7 @@ public class MSimNetworkControllerImpl extends NetworkControllerImpl {
                        + phoneId + "state=" + state.getState());
                }
                mMSimServiceState[phoneId] = state;
                mServiceState = mMSimServiceState[mDefaultPhoneId];
                if (SystemProperties.getBoolean("ro.config.combined_signal", true)) {
                    /*
                     * if combined_signal is set to true only then consider data