diff options
author | 2024-07-09 19:19:31 -0700 | |
---|---|---|
committer | 2024-07-09 19:19:31 -0700 | |
commit | e304a38fd45d5a0d120c9e45cfb1d013ca15b5e5 (patch) | |
tree | 3e978b77c2460934682146241ca71b6ab3a943e4 | |
parent | 0a872fc9843c6b31944140f5a99f2612ed903616 (diff) |
CallAudioState: Remove sensitive info from log.
Bluetooth has made a lot change to stop printing the address in the
logcat and instead it is printing an obfuscated version of the address
thanks to the toString method.
Bug: 328846856
Fix: 328846856
Test: atest TelecomUnitTests
Flag: Exempt log change
Change-Id: Iccdc3e1bc2ca4dc3858dfeee48c3cb55299fee7a
-rw-r--r-- | telecomm/java/android/telecom/CallAudioState.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/CallAudioState.java b/telecomm/java/android/telecom/CallAudioState.java index 49e9232ad535..14c9ea51c618 100644 --- a/telecomm/java/android/telecom/CallAudioState.java +++ b/telecomm/java/android/telecom/CallAudioState.java @@ -159,7 +159,7 @@ public final class CallAudioState implements Parcelable { @Override public String toString() { String bluetoothDeviceList = supportedBluetoothDevices.stream() - .map(BluetoothDevice::getAddress).collect(Collectors.joining(", ")); + .map(BluetoothDevice::toString).collect(Collectors.joining(", ")); return String.format(Locale.US, "[AudioState isMuted: %b, route: %s, supportedRouteMask: %s, " + |