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

Commit b7ee8efc authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Update mLastNotifiedNtnEligibility before calling notify.

Bug: 392721685
Test: 392910785
Flag: EXEMPT bugfix
Change-Id: I54e23f5d2e920c1a1b7c99159f6337908f4431f5
parent c09c6328
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2177,6 +2177,9 @@ public class SatelliteController extends Handler {
                int selectedSatelliteSubId = getSelectedSatelliteSubId();
                Phone phone = SatelliteServiceUtils.getPhone(selectedSatelliteSubId);
                if (eligible) {
                    synchronized (mSatellitePhoneLock) {
                        mLastNotifiedNtnEligibility = eligible;
                    }
                    phone.notifyCarrierRoamingNtnEligibleStateChanged(eligible);
                }
                break;