Merge "Skip sanitizing location info for Null Barring CID"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5bb393381c
@@ -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