summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-02-15 14:24:35 -0800
committerMichael Kolb <kolby@google.com>2011-02-15 14:24:41 -0800
commit96683f7cb9e1f64de174e47e30ac09823193070e (patch)
tree02fc7ca438e0650d79201d9936f7bf7a825600f9 /src/com/android
parentbb2a345e610ef6600a3708f0d27c9cddb2d7c182 (diff)
downloadpackages_apps_Browser-96683f7cb9e1f64de174e47e30ac09823193070e.zip
packages_apps_Browser-96683f7cb9e1f64de174e47e30ac09823193070e.tar.gz
packages_apps_Browser-96683f7cb9e1f64de174e47e30ac09823193070e.tar.bz2
fix closing app tabs
Bug: 3452002 Although not reproducible, the first tab was selected, not the last one. Change-Id: I2766150fa19bbdbc5a0fb46fa49f46a56f437666
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/browser/Controller.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index b2738e1..9561cb6 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -2380,7 +2380,7 @@ public class Controller
+ "while handing goBackOnePageOrQuit.");
}
pauseWebViewTimers(current);
- removeTab(current);
+ closeCurrentTab();
}
/*
* Instead of finishing the activity, simply push this to the back