Support SID/NID redaction in ServiceState
As ServiceState#createLocationInfoSanitizedCopy has
sanitized SID/NID, ServiceStateProvide doesn't
need to do it now.
Bug: 188061647
Test: atest ServiceStateTest ServiceStateProviderTest
Change-Id: I70f04daa086c666748a86e2a4e1c64848c0bf7be
diff --git a/src/com/android/phone/ServiceStateProvider.java b/src/com/android/phone/ServiceStateProvider.java
index 6f5fcf5..50f90b1 100644
--- a/src/com/android/phone/ServiceStateProvider.java
+++ b/src/com/android/phone/ServiceStateProvider.java
@@ -700,8 +700,6 @@
/* package */ static ServiceState getLocationRedactedServiceState(ServiceState serviceState) {
ServiceState ss =
serviceState.createLocationInfoSanitizedCopy(true /*removeCoarseLocation*/);
- // TODO(b/188061647): remove the additional redaction once it is fixed in SS
- ss.setCdmaSystemAndNetworkId(ServiceState.UNKNOWN_ID, ServiceState.UNKNOWN_ID);
return ss;
}
}