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

Commit b03507af authored by Sarah Chin's avatar Sarah Chin Committed by android-build-merger
Browse files

Merge "Fix short-circuiting for RatRacheter"

am: c70a3bb9

Change-Id: I7df6934c2fc6c8d26d1df0be8a653e1fd7ff7af9
parents 47ecfeb6 c70a3bb9
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);
                    }
                }