From 3782e4081d409d4ef5b500d65e7a52e98ec8c276 Mon Sep 17 00:00:00 2001 From: Sriram Ramasubramanian Date: Mon, 4 Feb 2013 15:26:50 -0800 Subject: [PATCH] Bug 828853: Sync tabs icon closes tabs-ui, when sync is not setup. [r=mfinkle] --HG-- extra : rebase_source : 703f8bc15630186948d5d553238a47edac9a8287 --- mobile/android/base/RemoteTabs.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mobile/android/base/RemoteTabs.java b/mobile/android/base/RemoteTabs.java index fe446855425..ea6f6df71da 100644 --- a/mobile/android/base/RemoteTabs.java +++ b/mobile/android/base/RemoteTabs.java @@ -88,10 +88,8 @@ public class RemoteTabs extends ExpandableListView @Override public void onQueryTabsComplete(List remoteTabsList) { ArrayList remoteTabs = new ArrayList (remoteTabsList); - if (remoteTabs == null || remoteTabs.size() == 0) { - autoHidePanel(); + if (remoteTabs == null || remoteTabs.size() == 0) return; - } ArrayList > clients = new ArrayList >();