summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2011-07-04 18:21:17 +0100
committerMathew Inwood <mathewi@google.com>2011-07-04 18:27:42 +0100
commit87ddc3da1b1e08a65da399e80f617de3db6df359 (patch)
treea3e796ebffa613ff7169e0d40dff72a0097d2cba /src
parentb14ff2febe4b6a07a73c875858437c89cf43fc72 (diff)
downloadpackages_apps_Browser-87ddc3da1b1e08a65da399e80f617de3db6df359.zip
packages_apps_Browser-87ddc3da1b1e08a65da399e80f617de3db6df359.tar.gz
packages_apps_Browser-87ddc3da1b1e08a65da399e80f617de3db6df359.tar.bz2
Add tab to tab bar when rendering a preloaded one.
Previously, no tab was present in the tab bar on tablet. Change-Id: Id9ac1e77c50acf3a695a4da028b397394b51d9ec
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/Controller.java1
1 files changed, 1 insertions, 0 deletions
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 @@ public class Controller
Tab tab = urlData.getPreloadedTab();
tab.getWebView().clearHistory();
mTabControl.addPreloadedTab(tab);
+ addTab(tab);
setActiveTab(tab);
return tab;
} else {