Bug 839887: Sync tabs should close the tabs ui on phones. [r=mfinkle]

This commit is contained in:
Sriram Ramasubramanian 2013-02-14 09:50:11 -08:00
parent 006c907322
commit 5354432eca

View File

@ -109,13 +109,12 @@ abstract public class BrowserApp extends GeckoApp
final TabsPanel.Panel panel = tab.isPrivate()
? TabsPanel.Panel.PRIVATE_TABS
: TabsPanel.Panel.NORMAL_TABS;
if (areTabsShown() && mTabsPanel.getCurrentPanel() != panel) {
mMainHandler.post(new Runnable() {
public void run() {
mMainHandler.post(new Runnable() {
public void run() {
if (areTabsShown() && mTabsPanel.getCurrentPanel() != panel)
showTabs(panel);
}
});
}
}
});
}
break;
case LOAD_ERROR: