am b5eafddc: am 5e190e52: am 9beb0b95: am e31381be: am f95ba7c5: Merge "Do not show compose button in ad view" into ub-gmail-ur14-dev

* commit 'b5eafddc78b082ec0bc354e7a48d6f8b10a543b4':
  Do not show compose button in ad view
diff --git a/src/com/android/mail/ui/OnePaneController.java b/src/com/android/mail/ui/OnePaneController.java
index 12e3308..ad9c09f 100644
--- a/src/com/android/mail/ui/OnePaneController.java
+++ b/src/com/android/mail/ui/OnePaneController.java
@@ -210,6 +210,10 @@
             mPagerController.hide(true /* changeVisibility */);
         }
 
+        if (ViewMode.isAdMode(newMode)) {
+            onConversationListVisibilityChanged(false);
+        }
+
         // When we step away from the conversation mode, we don't have a current conversation
         // anymore. Let's blank it out so clients calling getCurrentConversation are not misled.
         if (!ViewMode.isConversationMode(newMode)) {