Skip sanitizing location info for Null Barring CID am: b41802887f

Change-Id: I797eab4212793d1feb5fa4723bc3f2b9a93962ef
This commit is contained in:
Nathan Harold
2020-03-19 00:08:46 +00:00
committed by Automerger Merge Worker

View File

@@ -324,6 +324,9 @@ public final class BarringInfo implements Parcelable {
/** @hide */
@SystemApi
public @NonNull BarringInfo createLocationInfoSanitizedCopy() {
// The only thing that would need sanitizing is the CellIdentity
if (mCellIdentity == null) return this;
return new BarringInfo(mCellIdentity.sanitizeLocationInfo(), mBarringServiceInfos);
}