summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJin Cao <jinyan@google.com>2014-11-02 20:51:29 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-02 20:51:29 +0000
commitd15615dd903a85feb9b80a1f84de687d3438477c (patch)
treee2f4dfda87543bdb46f683bffd8c410385c99628 /src
parentfb1da9f177626fb2a4b7969d6a8b891b1760bef5 (diff)
parent4f0ee708b7c5c21fbdb02ee10e452d4d42eff51c (diff)
downloadUnifiedEmail-d15615dd903a85feb9b80a1f84de687d3438477c.tar.gz
am 4f0ee708: am 7afca7ef: am 2f1381ee: am 793f066c: am f91f88ef: Use guava Objects.equal
* commit '4f0ee708b7c5c21fbdb02ee10e452d4d42eff51c': Use guava Objects.equal
Diffstat (limited to 'src')
-rw-r--r--src/com/android/mail/ui/TwoPaneController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/mail/ui/TwoPaneController.java b/src/com/android/mail/ui/TwoPaneController.java
index a301eeb52..cce227a28 100644
--- a/src/com/android/mail/ui/TwoPaneController.java
+++ b/src/com/android/mail/ui/TwoPaneController.java
@@ -42,11 +42,11 @@ import com.android.mail.providers.UIProvider.ConversationListIcon;
import com.android.mail.utils.EmptyStateUtils;
import com.android.mail.utils.LogUtils;
import com.android.mail.utils.Utils;
+import com.google.common.base.Objects;
import com.google.common.collect.Lists;
import java.util.Collection;
import java.util.List;
-import java.util.Objects;
/**
* Controller for two-pane Mail activity. Two Pane is used for tablets, where screen real estate
@@ -668,7 +668,7 @@ public final class TwoPaneController extends AbstractActivityController implemen
// it's also possible to get here when the dataset changes and the current CV is
// repositioned in the dataset, so make sure the current conv is actually being switched
// before clearing the peek state
- if (!Objects.equals(conversation, mCurrentConversation)) {
+ if (!Objects.equal(conversation, mCurrentConversation)) {
LogUtils.i(LOG_TAG, "CPA reported a page change. resetting peek to false. new conv=%s",
conversation);
mCurrentConversationJustPeeking = false;