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

Commit 03db311c authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Notify service state change when subId goes valid"

am: c8d6062a

Change-Id: I6ea938d1cc23b080dc459b92d4aa527d8a84101b
parents 299b9f45 c8d6062a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -365,6 +365,13 @@ public class ServiceStateTracker extends Handler {

                    mPhone.notifyPhoneStateChanged();
                    mPhone.notifyCallForwardingIndicator();
                    if (!SubscriptionManager.isValidSubscriptionId(
                            ServiceStateTracker.this.mPrevSubId)) {
                        // just went from invalid to valid subId, so notify with current service
                        // state in case our service stat was never broadcasted (we don't notify
                        // service states when the subId is invalid)
                        mPhone.notifyServiceStateChanged(mSS);
                    }

                    boolean restoreSelection = !context.getResources().getBoolean(
                            com.android.internal.R.bool.skip_restoring_network_selection);