fix url action mode
Bug: 5093025
The url bar is kept visible now
It's still not perfect, because the url bar gets pushed down
under the user's finger
Change-Id: I7142cd1f442bf7e3b53af5aac150defda68661ed
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index f20968b..0d22af0 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1812,7 +1812,7 @@
void onActionModeStarted(ActionMode mode) {
mUi.onActionModeStarted(mode);
mActionMode = mode;
- if (mSimulateActionBarOverlayMode) {
+ if (mSimulateActionBarOverlayMode && !mUi.isEditingUrl()) {
WebView web = getCurrentWebView();
// Simulate overlay mode by scrolling the webview the amount it will be
// pushed down. Actual overlay mode doesn't work for us as otherwise