summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-01-31 11:16:00 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-31 11:16:00 -0800
commit2b2255d1860a54e62766db78ef8ed07553a1692e (patch)
treec61a78ca0af60c98e288c90742303e0d725a1f31 /src/com/android
parenta4af6dce2ebe6c4979524461047fcc0eb76fce84 (diff)
parent20776cc370cf1f092b73c356c02a0df966cfd185 (diff)
downloadpackages_apps_Browser-2b2255d1860a54e62766db78ef8ed07553a1692e.tar.gz
packages_apps_Browser-2b2255d1860a54e62766db78ef8ed07553a1692e.tar.bz2
packages_apps_Browser-2b2255d1860a54e62766db78ef8ed07553a1692e.zip
Merge "fix IME bug" into honeycomb
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/browser/BaseUi.java3
-rw-r--r--src/com/android/browser/TabBar.java1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java
index 40bc16eb8..756f8b894 100644
--- a/src/com/android/browser/BaseUi.java
+++ b/src/com/android/browser/BaseUi.java
@@ -292,6 +292,7 @@ public abstract class BaseUi implements UI, WebViewFactory {
}
private void removeTabFromContentView(Tab tab) {
+ hideFakeTitleBar();
// Remove the container that contains the main WebView.
WebView mainView = tab.getWebView();
View container = tab.getViewContainer();
@@ -301,6 +302,7 @@ public abstract class BaseUi implements UI, WebViewFactory {
// Remove the container from the content and then remove the
// WebView from the container. This will trigger a focus change
// needed by WebView.
+ mainView.setEmbeddedTitleBar(null);
FrameLayout wrapper =
(FrameLayout) container.findViewById(R.id.webview_wrapper);
wrapper.removeView(mainView);
@@ -311,7 +313,6 @@ public abstract class BaseUi implements UI, WebViewFactory {
if (errorConsole != null) {
mErrorConsoleContainer.removeView(errorConsole);
}
- mainView.setEmbeddedTitleBar(null);
}
@Override
diff --git a/src/com/android/browser/TabBar.java b/src/com/android/browser/TabBar.java
index df2e68a67..d115f1ac8 100644
--- a/src/com/android/browser/TabBar.java
+++ b/src/com/android/browser/TabBar.java
@@ -194,7 +194,6 @@ public class TabBar extends LinearLayout
}
public void onClick(View view) {
- mUi.hideComboView();
if (mNewTab == view) {
mUiController.openTabToHomePage();
} else if (mTabs.getSelectedTab() == view) {