commit | 87ddc3da1b1e08a65da399e80f617de3db6df359 | [log] [tgz] |
---|---|---|
author | Mathew Inwood <mathewi@google.com> | Mon Jul 04 18:21:17 2011 +0100 |
committer | Mathew Inwood <mathewi@google.com> | Mon Jul 04 18:27:42 2011 +0100 |
tree | a3e796ebffa613ff7169e0d40dff72a0097d2cba | |
parent | b14ff2febe4b6a07a73c875858437c89cf43fc72 [diff] [blame] |
Add tab to tab bar when rendering a preloaded one. Previously, no tab was present in the tab bar on tablet. Change-Id: Id9ac1e77c50acf3a695a4da028b397394b51d9ec
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 88fcbd6..fa1a02b 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java
@@ -2189,6 +2189,7 @@ Tab tab = urlData.getPreloadedTab(); tab.getWebView().clearHistory(); mTabControl.addPreloadedTab(tab); + addTab(tab); setActiveTab(tab); return tab; } else {