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

Commit 1a5a6327 authored by Dheeraj Shetty's avatar Dheeraj Shetty Committed by android-build-merger
Browse files

Merge "Fix APN build" am: d3d5d5a9

am: 53122f12

Change-Id: I841c37a026ee1a9e377ed77702b32b365e6a9a8a
parents bac75672 53122f12
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);