Redact cellIdentity from logs since it's PII.

Test: manual
Bug: 185173370
Change-Id: Ib11def900cbd29981364a92208592790404ae647
This commit is contained in:
Amit Mahajan
2021-04-23 16:46:36 -07:00
parent a585030805
commit 02523f5cec

View File

@@ -2072,7 +2072,8 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
private void notifyCellLocationForSubscriber(int subId, CellIdentity cellIdentity,
boolean hasUserSwitched) {
log("notifyCellLocationForSubscriber: subId=" + subId + " cellIdentity=" + cellIdentity);
log("notifyCellLocationForSubscriber: subId=" + subId + " cellIdentity="
+ Rlog.pii(DBG || VDBG || DBG_LOC, cellIdentity));
if (!checkNotifyPermission("notifyCellLocation()")) {
return;
}