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

Commit 5d760432 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "Ignore network policies with missing IMSI." into mnc-dr-dev

am: 38463bb9

* commit '38463bb9':
  Ignore network policies with missing IMSI.
parents e3d74529 38463bb9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -288,7 +288,8 @@ public class NetworkTemplate implements Parcelable {
        } else {
            final boolean matchesType = (sForceAllNetworkTypes
                    || contains(DATA_USAGE_NETWORK_TYPES, ident.mType));
            return matchesType && ArrayUtils.contains(mMatchSubscriberIds, ident.mSubscriberId);
            return matchesType && !ArrayUtils.isEmpty(mMatchSubscriberIds)
                    && ArrayUtils.contains(mMatchSubscriberIds, ident.mSubscriberId);
        }
    }