summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/XLargeUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-03-17 10:59:10 -0700
committerMichael Kolb <kolby@google.com>2011-03-17 15:06:16 -0700
commit2ba24b9e37f6b88533d9af849102d97173c6324d (patch)
treecf3a0900a09337056cbfd504deaff4ada2c85942 /src/com/android/browser/XLargeUi.java
parentb38f88126b7ea255a884d06018d3d1c64e25bdff (diff)
downloadpackages_apps_Browser-2ba24b9e37f6b88533d9af849102d97173c6324d.zip
packages_apps_Browser-2ba24b9e37f6b88533d9af849102d97173c6324d.tar.gz
packages_apps_Browser-2ba24b9e37f6b88533d9af849102d97173c6324d.tar.bz2
fix web refresh bug
Bug: 4117355 force invalidate after layout of title bar changes Change-Id: I5775517573d15227e4f8a4bc5f84e1246c9d70ff
Diffstat (limited to 'src/com/android/browser/XLargeUi.java')
-rw-r--r--src/com/android/browser/XLargeUi.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java
index 13a0557..13018af 100644
--- a/src/com/android/browser/XLargeUi.java
+++ b/src/com/android/browser/XLargeUi.java
@@ -463,6 +463,13 @@ public class XLargeUi extends BaseUi implements ScrollListener {
mTitleBar.updateAutoLogin(tab, animate);
}
+ protected void refreshWebView() {
+ Tab tab = getActiveTab();
+ if ((tab != null) && (tab.getWebView() != null)) {
+ tab.getWebView().invalidate();
+ }
+ }
+
@Override
public void setUrlTitle(Tab tab) {
super.setUrlTitle(tab);