diff options
author | 2020-08-27 18:16:06 +0800 | |
---|---|---|
committer | 2021-08-23 15:08:25 +0000 | |
commit | 7f9f348bcd064271e4c0aa0fc57a70a403fc1cb0 (patch) | |
tree | 0835429f35f0cadab2b19f953219c5004f75ec16 | |
parent | 6efa908b95d84d0e2073e032320f03468b6b65d1 (diff) |
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
-rwxr-xr-x | telecomm/java/android/telecom/ConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java index d82205e20538..887a4f004b80 100755 --- a/telecomm/java/android/telecom/ConnectionService.java +++ b/telecomm/java/android/telecom/ConnectionService.java @@ -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 { |