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

Commit 90b1316c authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor
Browse files

Merge branch '8018-t-orange_allowlist' into 'v1-t'

Force 3GPP for Orange PL

See merge request !5
parents 8972bb75 73189330
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -379,8 +379,11 @@ public class SmsDispatchersController extends Handler {

        String carrierMccMnc = mTelephonyManager.getNetworkOperator();

        if ("20820".equals(carrierMccMnc)) { // Check if MCC is 208 and MNC is 20 (Bouygues)
	Rlog.d(TAG, "Fetched MCCMNC: " + carrierMccMnc);

        if ("20820".equals(carrierMccMnc) || "26003".equals(carrierMccMnc)) {
            setImsSmsFormat(PhoneConstants.PHONE_TYPE_GSM); // Sets 3GPP format
            Rlog.d(TAG, "Forced GSM format for carrier: " + carrierMccMnc);
        } else {
            setImsSmsFormat(responseArray[1]);
        }