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

Commit 368bf0d4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Read the PS auto attach on creation config value from resources."

parents 40724ed0 b6669a9c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1975,6 +1975,12 @@ public final class DcTracker extends DcTrackerBase {
    }

    private void onRecordsLoaded() {
        mAutoAttachOnCreationConfig = mPhone.getContext().getResources()
                .getBoolean(com.android.internal.R.bool.config_auto_attach_data_on_creation);
        if (mAutoAttachOnCreationConfig && mAttached.get()) {
            mAutoAttachOnCreation = true;
        }

        if (mOmhApt != null) {
            log("OMH: onRecordsLoaded(): calling loadProfiles()");
            /* query for data profiles stored in the modem */