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

Commit b6a96481 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android (Google) Code Review
Browse files

Merge "Do not show satellite messaging in sim settings if sms is not supported" into main

parents 2d8cd122 d7769ad1
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -95,7 +95,13 @@ public class SatelliteSettingPreferenceController extends
            return UNSUPPORTED_ON_DEVICE;
        }

        return mIsCarrierSatelliteAttachSupported ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
        int availabilityStatus = mIsCarrierSatelliteAttachSupported
                ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
        if (availabilityStatus == AVAILABLE && mIsCarrierRoamingNtnConnectedTypeManual
                && !mIsSatelliteSmsAvailableForManualType) {
            availabilityStatus = CONDITIONALLY_UNAVAILABLE;
        }
        return availabilityStatus;
    }

    @Override