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

Commit 7a587cc8 authored by Susheel nyamala's avatar Susheel nyamala Committed by Linux Build Service Account
Browse files

Fix Mms issues on Cdma

For apn with empty apn name, Mms app will query
for mms info matching apns in telephony db.
Set apn name to empty string for Omh profiles

Change-Id: I256964750bf763848591314b208b7e823e538682
CRs-Fixed: 731752
parent a058bd37
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -107,15 +107,13 @@ public class ApnProfileOmh extends ApnSetting {
    /* Priority of this profile in the modem */
    private int mPriority = 0;

    private static String PROFILE_TYPE = "ApnProfileOmh";

    public ApnProfileOmh(int profileId, int priority) {
        /**
         * Default values if the profile is being used for only selective
         * fields e.g: just profileId and Priority. use case is when rest of the
         * fields can be read and processed only by the modem
         */
        super(0, "", null, PROFILE_TYPE, null, null, null, null, null,
        super(0, "", null, "", null, null, null, null, null,
                null, null, RILConstants.SETUP_DATA_AUTH_PAP_CHAP,
                new String[0], "IP", "IP", true, 0, profileId, false, 0,
                0, 0, 0, "", "");