From 8bbd69f50abd537bfe7eb314b3a3e20241ac22bd Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Fri, 14 Aug 2009 13:35:53 -0400 Subject: [PATCH] Set the new tab as the current tab to reflect the old behavior. --- src/com/android/browser/BrowserActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 6ea9ebb..f097ffb 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -1657,6 +1657,9 @@ public class BrowserActivity extends Activity } removeTabFromContentView(currentTab); attachTabToContentView(tab); + // We must set the new tab as the current tab to reflect the old + // animation behavior. + mTabControl.setCurrentTab(tab); if (urlData.isEmpty()) { bookmarksOrHistoryPicker(false); } else { -- 2.11.0