summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BaseUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-08-22 14:49:34 -0700
committerMichael Kolb <kolby@google.com>2011-08-22 14:49:34 -0700
commit2ae6ef7f6c146a5bc3a4c7ef8de56505eb02399e (patch)
tree2014b4b9cedf61ef952cfe313283ffcbdb892213 /src/com/android/browser/BaseUi.java
parent676c5c8cd7f6a70948baa11606753dffa96e8d1e (diff)
downloadpackages_apps_Browser-2ae6ef7f6c146a5bc3a4c7ef8de56505eb02399e.zip
packages_apps_Browser-2ae6ef7f6c146a5bc3a4c7ef8de56505eb02399e.tar.gz
packages_apps_Browser-2ae6ef7f6c146a5bc3a4c7ef8de56505eb02399e.tar.bz2
Avoid showing previous tab when closing an app tab
Bug: 5188145 skip setActiveTab when closing a tab launched from an app set active tab in onResume Change-Id: If602358a61690f15fe2e81a6b3d62d51ad15e16d
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r--src/com/android/browser/BaseUi.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java
index 6f87463..80f4de8 100644
--- a/src/com/android/browser/BaseUi.java
+++ b/src/com/android/browser/BaseUi.java
@@ -157,6 +157,9 @@ public abstract class BaseUi implements UI {
public void onResume() {
mActivityPaused = false;
+ // check if we exited without setting active tab
+ // b: 5188145
+ setActiveTab(mTabControl.getCurrentTab());
}
protected boolean isActivityPaused() {