diff options
author | Michael Kolb <kolby@google.com> | 2012-04-10 10:52:34 -0700 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2012-04-10 10:52:34 -0700 |
commit | f8963521024f39236388eb8e70835f813bf7f4ee (patch) | |
tree | 4d19177c6393cc26a939ebe7e690b8e21126e610 /src | |
parent | 72b3b437a45714d63720324495504ee9099921e4 (diff) | |
download | packages_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')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 1 | ||||
-rw-r--r-- | src/com/android/browser/PhoneUi.java | 1 | ||||
-rw-r--r-- | src/com/android/browser/XLargeUi.java | 1 |
3 files changed, 1 insertions, 2 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); diff --git a/src/com/android/browser/PhoneUi.java b/src/com/android/browser/PhoneUi.java index d02a3d2..a1f70da 100644 --- a/src/com/android/browser/PhoneUi.java +++ b/src/com/android/browser/PhoneUi.java @@ -178,7 +178,6 @@ public class PhoneUi extends BaseUi { // update nav bar state mNavigationBar.onStateChanged(StateListener.STATE_NORMAL); updateLockIconToLatest(tab); - tab.getTopWindow().requestFocus(); mTitleBar.setSkipTitleBarAnimations(false); } diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java index 6e37c15..b372fab 100644 --- a/src/com/android/browser/XLargeUi.java +++ b/src/com/android/browser/XLargeUi.java @@ -193,7 +193,6 @@ public class XLargeUi extends BaseUi { revertVoiceTitleBar(tab); } updateLockIconToLatest(tab); - tab.getTopWindow().requestFocus(); mTitleBar.setSkipTitleBarAnimations(false); } |