Redact DTMF digits log for production users

DTMF digits entered by the user is considered privacy data and should
be hidden in the info logs.

Test: manual
Test: atest CtsTelecomTestCases
Bug: 196017457

Change-Id: Ice8b63a6a64608dd7a58daf2c5d98842617db264
This commit is contained in:
Wenting Xiong
2020-08-27 18:16:06 +08:00
committed by Hui Wang
parent 6efa908b95
commit 7f9f348bcd

View File

@@ -2297,7 +2297,7 @@ public abstract class ConnectionService extends Service {
}
private void playDtmfTone(String callId, char digit) {
Log.i(this, "playDtmfTone %s %c", callId, digit);
Log.i(this, "playDtmfTone %s %s", callId, Log.pii(digit));
if (mConnectionById.containsKey(callId)) {
findConnectionForAction(callId, "playDtmfTone").onPlayDtmfTone(digit);
} else {