summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Controller.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2010-12-12 19:50:22 -0800
committerMichael Kolb <kolby@google.com>2010-12-14 11:06:28 -0800
commit6670653d355fea0ae20dc51f6c693f994c4cbb54 (patch)
tree128d8eebfe2bbf30e09ffeba4d9e0b85176e80a6 /src/com/android/browser/Controller.java
parent6a85e2ae52f5e7592731cfcf1b98639ea2a03b62 (diff)
downloadpackages_apps_Browser-6670653d355fea0ae20dc51f6c693f994c4cbb54.tar.gz
packages_apps_Browser-6670653d355fea0ae20dc51f6c693f994c4cbb54.tar.bz2
packages_apps_Browser-6670653d355fea0ae20dc51f6c693f994c4cbb54.zip
Split UI based on screen size
Different UI implementation for normal and xlarge screens Change-Id: I8217ffd16e1f87b248a22426b17fa34b3a4f89df
Diffstat (limited to 'src/com/android/browser/Controller.java')
-rw-r--r--src/com/android/browser/Controller.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 422fdffc9..e88a67692 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1447,12 +1447,6 @@ public class Controller
// if main menu option is selected
removeComboView();
}
- // check the action bar button before mCanChord check, as the prepare call
- // doesn't come for action bar buttons
- if (item.getItemId() == R.id.newtab) {
- openTabToHomePage();
- return true;
- }
if (!mCanChord) {
// The user has already fired a shortcut with this hold down of the
// menu key.