diff --git a/embedding/android/GeckoApp.java b/embedding/android/GeckoApp.java index c89f389c171..c79c3951071 100644 --- a/embedding/android/GeckoApp.java +++ b/embedding/android/GeckoApp.java @@ -654,6 +654,13 @@ abstract public class GeckoApp mGeckoLayout = (RelativeLayout) findViewById(R.id.geckoLayout); mBrowserToolbar = (BrowserToolbar) findViewById(R.id.browserToolbar); + Tab tab = Tabs.getInstance().getSelectedTab(); + if (tab != null) { + mBrowserToolbar.setTitle(tab.getTitle()); + mBrowserToolbar.setFavicon(tab.getFavicon()); + mBrowserToolbar.updateTabs(Tabs.getInstance().getCount()); + } + if (surfaceView == null) { surfaceView = new GeckoSurfaceView(this); mGeckoLayout.addView(surfaceView);