diff --git a/src/com/android/email/mail/store/ImapConnection.java b/src/com/android/email/mail/store/ImapConnection.java index ef12b5bc7..659cbd8de 100644 --- a/src/com/android/email/mail/store/ImapConnection.java +++ b/src/com/android/email/mail/store/ImapConnection.java @@ -272,7 +272,7 @@ class ImapConnection { */ String sendCommand(String command, boolean sensitive) throws MessagingException, IOException { - LogUtils.d(Logging.LOG_TAG, "sendCommand %s", command); + LogUtils.d(Logging.LOG_TAG, "sendCommand %s", (sensitive ? IMAP_REDACTED_LOG : command)); open(); String tag = Integer.toString(mNextCommandTag.incrementAndGet()); String commandToSend = tag + " " + command;