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

Commit c70a3bb9 authored by Sarah Chin's avatar Sarah Chin Committed by Gerrit Code Review
Browse files

Merge "Fix short-circuiting for RatRacheter"

parents 307dec62 1176423e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1570,10 +1570,11 @@ public class ServiceStateTracker extends Handler {
                        mNrStateChangedRegistrants.notifyRegistrants();
                        hasChanged = true;
                    }
                    hasChanged |= RatRatcheter
                            .updateBandwidths(getBandwidthsFromConfigs(list), mSS);

                    // Notify NR frequency, NR connection status or bandwidths changed.
                    if (hasChanged
                            || RatRatcheter.updateBandwidths(getBandwidthsFromConfigs(list), mSS)) {
                    if (hasChanged) {
                        mPhone.notifyServiceStateChanged(mSS);
                    }
                }