commit | bd3dd948312df22888a8a90aef21e3460ba2f0b3 | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Wed Jan 12 11:09:38 2011 -0800 |
committer | Michael Kolb <kolby@google.com> | Wed Jan 12 14:32:12 2011 -0800 |
tree | 3477e4a6e62aef2334d0ad6a0a3920573baefa2f | |
parent | fac822d39e1e608618e0dfbda037edeadac154bb [diff] |
Close cab before showing ComboPage http://b/issue?id=3312056 Close action mode before showing the ComboPage Change-Id: I5f3ac135fb4fd72bb0398f713bd12351fab072d0
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 23594f2..02f1e7c 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java
@@ -1111,6 +1111,10 @@ if (mTabControl.getCurrentWebView() == null) { return; } + // clear action mode + if (isInCustomActionMode()) { + endActionMode(); + } Bundle extras = new Bundle(); // Disable opening in a new window if we have maxed out the windows extras.putBoolean(BrowserBookmarksPage.EXTRA_DISABLE_WINDOW,