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

Commit 3357b2f1 authored by Thomas Nguyen's avatar Thomas Nguyen
Browse files

Add debugging messages for NTN mode update

Flag: EXEMPT log only update
Bug: 390484511
Test: System, unit test, and CTS tests
Change-Id: I9dcb1076149068e8c79c84fdd49b5fef19043c20
parent 06456c32
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -6075,6 +6075,7 @@ public class SatelliteController extends Handler {

    private void updateLastNotifiedNtnModeAndNotify(@Nullable Phone phone) {
        if (phone == null) {
            plogd("updateLastNotifiedNtnModeAndNotify: phone is null");
            return;
        }

@@ -6083,6 +6084,10 @@ public class SatelliteController extends Handler {
            boolean initialized = mInitialized.get(subId);
            boolean lastNotifiedNtnMode = mLastNotifiedNtnMode.get(subId);
            boolean currNtnMode = isInSatelliteModeForCarrierRoaming(phone);
            plogd("updateLastNotifiedNtnModeAndNotify: subId=" + subId
                    + " initialized=" + initialized
                    + " lastNotifiedNtnMode=" + lastNotifiedNtnMode
                    + " currNtnMode=" + currNtnMode);
            if (!initialized || lastNotifiedNtnMode != currNtnMode) {
                if (!initialized) mInitialized.put(subId, true);
                mLastNotifiedNtnMode.put(subId, currNtnMode);