From 91ad70cd5d646fea8cdd47a334d9533c044779a9 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 18 Dec 2009 03:48:24 +0000 Subject: [PATCH] Killed a bunch of debug logging that clutters (and slows) production apps --- src/com/fsck/k9/activity/MessageView.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageView.java b/src/com/fsck/k9/activity/MessageView.java index 992b05e51..88325037c 100644 --- a/src/com/fsck/k9/activity/MessageView.java +++ b/src/com/fsck/k9/activity/MessageView.java @@ -531,25 +531,17 @@ public class MessageView extends K9Activity mFolder = intent.getStringExtra(EXTRA_FOLDER); mMessageUid = intent.getStringExtra(EXTRA_MESSAGE); mMessageUids = intent.getStringArrayListExtra(EXTRA_MESSAGE_UIDS); - - Log.v(K9.LOG_TAG, "mAccount number: " + mAccount.getAccountNumber()); - Log.v(K9.LOG_TAG, "mFolder: " + mFolder); - Log.v(K9.LOG_TAG, "mMessageUid: " + mMessageUid); } else { - Log.v(K9.LOG_TAG, "uri: " + uri.toString()); List segmentList = uri.getPathSegments(); - Log.v(K9.LOG_TAG, "segmentList size: " + segmentList.size()); if (segmentList.size()==3) { String accountId = segmentList.get(0); Account[] accounts = Preferences.getPreferences(this).getAccounts(); - Log.v(K9.LOG_TAG, "account.length: " + accounts.length); boolean found = false; for (Account account : accounts) { - Log.v(K9.LOG_TAG, "account: name=" + account.getDescription() + " number=" + account.getAccountNumber()); if (String.valueOf(account.getAccountNumber()).equals(accountId)) { mAccount = account; @@ -569,10 +561,6 @@ public class MessageView extends K9Activity } else { - for (String segment : segmentList) - { - Log.v(K9.LOG_TAG, "segment: " + segment); - } //TODO: Use ressource to externalize message Toast.makeText(this, "Invalid intent uri: " + uri.toString(), Toast.LENGTH_LONG).show(); return; @@ -1362,7 +1350,6 @@ public class MessageView extends K9Activity String timeText = getTimeFormat().format(message.getSentDate()); String toText = Address.toFriendly(message.getRecipients(RecipientType.TO)); String ccText = Address.toFriendly(message.getRecipients(RecipientType.CC)); - Log.d(K9.LOG_TAG, ccText); boolean hasAttachments = ((LocalMessage) message).getAttachmentCount() > 0; mHandler.setHeaders(subjectText, fromText,