diff options
author | John Reck <jreck@google.com> | 2011-02-24 15:48:05 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-02-24 15:48:05 -0800 |
commit | e6bf4abbb12a83fc0256d98d9d5cb36ee326f1ce (patch) | |
tree | 6936aabb4106e79900c8152c075d88611bca2431 /src/com/android/browser/BrowserActivity.java | |
parent | 19d194a667ea64a14e32982e11b22fb30e8cf10e (diff) | |
download | packages_apps_browser-e6bf4abbb12a83fc0256d98d9d5cb36ee326f1ce.zip packages_apps_browser-e6bf4abbb12a83fc0256d98d9d5cb36ee326f1ce.tar.gz packages_apps_browser-e6bf4abbb12a83fc0256d98d9d5cb36ee326f1ce.tar.bz2 |
Fix back long press behavior
Bug: 3486271
Change-Id: I49eb218670b4082b1fcf6daaab025ec7e0be6b8c
Diffstat (limited to 'src/com/android/browser/BrowserActivity.java')
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 8c38e59..3c025d2 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -253,6 +253,12 @@ public class BrowserActivity extends Activity { } @Override + public boolean onKeyLongPress(int keyCode, KeyEvent event) { + return mController.onKeyLongPress(keyCode, event) || + super.onKeyLongPress(keyCode, event); + } + + @Override public boolean onKeyUp(int keyCode, KeyEvent event) { return mController.onKeyUp(keyCode, event) || super.onKeyUp(keyCode, event); |