From b31845a5c2e0887228e8437706d5e91db9137496 Mon Sep 17 00:00:00 2001 From: Sriram Ramasubramanian Date: Fri, 31 Aug 2012 11:14:43 -0700 Subject: [PATCH] Bug 785731: Tabs-tray rotation should preserve the height. [r=mcomella] --HG-- extra : rebase_source : ceddf0b6584e54bcda3f9f7b66848064064e87ed --- mobile/android/base/TabsPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile/android/base/TabsPanel.java b/mobile/android/base/TabsPanel.java index 37f26c04574e..25fada2b646a 100644 --- a/mobile/android/base/TabsPanel.java +++ b/mobile/android/base/TabsPanel.java @@ -173,8 +173,7 @@ public class TabsPanel extends LinearLayout { int listHeight = (int) (0.5 * mContext.getResources().getDisplayMetrics().heightPixels); int height = actionBarHeight + listHeight; - if (showAnimation) - dispatchLayoutChange(getWidth(), height); + dispatchLayoutChange(getWidth(), height); } // If Sync is set up, query the database for remote clients.