Merge "Redact cellIdentity from logs since it's PII." into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-24 03:46:44 +00:00
committed by Android (Google) Code Review

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;
}