commit | 96683f7cb9e1f64de174e47e30ac09823193070e | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Tue Feb 15 14:24:35 2011 -0800 |
committer | Michael Kolb <kolby@google.com> | Tue Feb 15 14:24:41 2011 -0800 |
tree | 02fc7ca438e0650d79201d9936f7bf7a825600f9 | |
parent | bb2a345e610ef6600a3708f0d27c9cddb2d7c182 [diff] [blame] |
fix closing app tabs Bug: 3452002 Although not reproducible, the first tab was selected, not the last one. Change-Id: I2766150fa19bbdbc5a0fb46fa49f46a56f437666
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 @@ + "while handing goBackOnePageOrQuit."); } pauseWebViewTimers(current); - removeTab(current); + closeCurrentTab(); } /* * Instead of finishing the activity, simply push this to the back