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

Commit 8fb799ce 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 am: 03db311c

am: 0023fdf8

Change-Id: I3e8ac84790a06b6e368495b5f2d80ebcb6af3549
parents f6e8f7fa 0023fdf8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -366,6 +366,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);