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

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

Update carrier roaming ntn signal strength when

SatelliteSessionController enters ConnectedState

Bug: 378541845
Test: Manaually tested SMS/MMS/CALLS/DATA
FLAG: EXEMPT bugfix
Change-Id: I4af99511e8002d1970911e9e92f3387a06bc5b4d
parent 45ba491a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7866,7 +7866,8 @@ public class SatelliteController extends Handler {
        return carrierRoamingNtnSignalStrength;
    }

    private void updateLastNotifiedCarrierRoamingNtnSignalStrengthAndNotify(@Nullable Phone phone) {
    protected void updateLastNotifiedCarrierRoamingNtnSignalStrengthAndNotify(
            @Nullable Phone phone) {
        if (!mFeatureFlags.carrierRoamingNbIotNtn()) return;
        if (phone == null) {
            return;
+2 −0
Original line number Diff line number Diff line
@@ -1301,6 +1301,8 @@ public class SatelliteSessionController extends StateMachine {
            startNbIotInactivityTimer();
            evaluateStartingEsosInactivityTimer();
            evaluateStartingP2pSmsInactivityTimer();
            mSatelliteController.updateLastNotifiedCarrierRoamingNtnSignalStrengthAndNotify(
                    mSatelliteController.getSatellitePhone());
        }

        @Override