Skip sanitizing location info for Null Barring CID am: b41802887f
Change-Id: I797eab4212793d1feb5fa4723bc3f2b9a93962ef
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user