summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BaseUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2012-04-10 10:52:34 -0700
committerMichael Kolb <kolby@google.com>2012-04-10 10:52:34 -0700
commitf8963521024f39236388eb8e70835f813bf7f4ee (patch)
tree4d19177c6393cc26a939ebe7e690b8e21126e610 /src/com/android/browser/BaseUi.java
parent72b3b437a45714d63720324495504ee9099921e4 (diff)
downloadpackages_apps_Browser-f8963521024f39236388eb8e70835f813bf7f4ee.zip
packages_apps_Browser-f8963521024f39236388eb8e70835f813bf7f4ee.tar.gz
packages_apps_Browser-f8963521024f39236388eb8e70835f813bf7f4ee.tar.bz2
De-focus url input before tab data change
Bug: 6315452 Change-Id: I1540122a7dd31fc2cf477b4f70ff88cdbcecc56e
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r--src/com/android/browser/BaseUi.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java
index f8a9414..9aaceeb 100644
--- a/src/com/android/browser/BaseUi.java
+++ b/src/com/android/browser/BaseUi.java
@@ -251,6 +251,7 @@ public abstract class BaseUi implements UI {
updateUrlBarAutoShowManagerTarget();
attachTabToContentView(tab);
mTitleBar.bringToFront();
+ tab.getTopWindow().requestFocus();
setShouldShowErrorConsole(tab, mUiController.shouldShowErrorConsole());
onTabDataChanged(tab);
onProgressChanged(tab);