From 4bd6f36eb9d2705ef2428f9cf451f1fc0f7ae2c6 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 17 Jul 2013 19:52:18 -0400 Subject: [PATCH] Don't invalidate the options menu from the message list as we open a message. We also invalidate it (twice) as we show the message. It turns out to have measurable performance impact on 2.3 thanks to ABS --- src/com/fsck/k9/activity/MessageList.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 7d3379215..69000e899 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -1157,7 +1157,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme showMessageView(); } } - invalidateOptionsMenu(); } @Override