commit | 7bcafde2ba532941c1eb8c9022eebd5398aeae2a | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Mon May 09 13:55:59 2011 -0700 |
committer | Michael Kolb <kolby@google.com> | Mon May 09 14:54:17 2011 -0700 |
tree | 7e0d841873fd48d59fb4c11e1a7ac45220d4319c | |
parent | 37a0bde01dc9655fc99ee2d63098ab073ac97e33 [diff] [blame] |
refactor open tab code Change-Id: Ibcffa5a55b2b7dcf56174f9dd916a565b31506e9
diff --git a/src/com/android/browser/ActiveTabsPage.java b/src/com/android/browser/ActiveTabsPage.java index 52d943f..23b313a 100644 --- a/src/com/android/browser/ActiveTabsPage.java +++ b/src/com/android/browser/ActiveTabsPage.java
@@ -75,7 +75,7 @@ if (v == mNewTab) { mController.openTabToHomePage(); } else if (v == mNewIncognitoTab) { - mController.openIncognitoTab(); + mController.openTab(null, true, true, false); } mController.removeActiveTabsPage(false); }