Bug 828853: Sync tabs icon closes tabs-ui, when sync is not setup. [r=mfinkle]

--HG--
extra : rebase_source : 703f8bc15630186948d5d553238a47edac9a8287
This commit is contained in:
Sriram Ramasubramanian 2013-02-04 15:26:50 -08:00
parent 01b22053d4
commit 3782e4081d

View File

@ -88,10 +88,8 @@ public class RemoteTabs extends ExpandableListView
@Override
public void onQueryTabsComplete(List<TabsAccessor.RemoteTab> remoteTabsList) {
ArrayList<TabsAccessor.RemoteTab> remoteTabs = new ArrayList<TabsAccessor.RemoteTab> (remoteTabsList);
if (remoteTabs == null || remoteTabs.size() == 0) {
autoHidePanel();
if (remoteTabs == null || remoteTabs.size() == 0)
return;
}
ArrayList <HashMap <String, String>> clients = new ArrayList <HashMap <String, String>>();