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

Commit 53122f12 authored by Dheeraj Shetty's avatar Dheeraj Shetty Committed by android-build-merger
Browse files

Merge "Fix APN build"

am: d3d5d5a9

Change-Id: I3e2d692aae51208f82b9bb90f69c4b32ed483f5f
parents 4aea29f7 d3d5d5a9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1944,8 +1944,9 @@ public class ApnSetting implements Parcelable {
         * {@link ApnSetting} built from this builder otherwise.
         */
        public ApnSetting build() {
            if ((mApnTypeBitmask & TYPE_ALL) == 0 || TextUtils.isEmpty(mApnName)
                || TextUtils.isEmpty(mEntryName)) {
            if ((mApnTypeBitmask & (TYPE_DEFAULT | TYPE_MMS | TYPE_SUPL | TYPE_DUN | TYPE_HIPRI |
                    TYPE_FOTA | TYPE_IMS | TYPE_CBS | TYPE_IA | TYPE_EMERGENCY | TYPE_MCX)) == 0
                || TextUtils.isEmpty(mApnName) || TextUtils.isEmpty(mEntryName)) {
                return null;
            }
            return new ApnSetting(this);