diff options
author | Michael Kolb <kolby@google.com> | 2012-03-09 15:08:23 -0800 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2012-03-09 15:08:23 -0800 |
commit | c832e5e47b6d91a3d805c71848c863696ea8c892 (patch) | |
tree | 4376ce66f796dee92e6360e4c5db5fccff346c3f /src | |
parent | 859cde607ba579b20dcdc6866fc6fdcf6ed75117 (diff) | |
download | packages_apps_Browser-c832e5e47b6d91a3d805c71848c863696ea8c892.zip packages_apps_Browser-c832e5e47b6d91a3d805c71848c863696ea8c892.tar.gz packages_apps_Browser-c832e5e47b6d91a3d805c71848c863696ea8c892.tar.bz2 |
Bad Monkey.
Bug: 6028523
Change-Id: I960bcbb90344a4008f33551a846f2d5e8baeee22
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/browser/NavigationBarTablet.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/NavigationBarTablet.java b/src/com/android/browser/NavigationBarTablet.java index 026e903..3403fd7 100644 --- a/src/com/android/browser/NavigationBarTablet.java +++ b/src/com/android/browser/NavigationBarTablet.java @@ -165,9 +165,9 @@ public class NavigationBarTablet extends NavigationBarBase { @Override public void onClick(View v) { - if (mBackButton == v) { + if ((mBackButton == v) && (mUiController.getCurrentTab() != null)) { mUiController.getCurrentTab().goBack(); - } else if (mForwardButton == v) { + } else if ((mForwardButton == v) && (mUiController.getCurrentTab() != null)) { mUiController.getCurrentTab().goForward(); } else if (mStar == v) { Intent intent = mUiController.createBookmarkCurrentPageIntent(true); |