From e8b8ddaa0222f20e166607cfa604debb4355c42d Mon Sep 17 00:00:00 2001 From: anthony restaino Date: Sun, 30 Apr 2017 21:12:49 -0400 Subject: [PATCH] Removing unnecessary long click listener --- .../lightning/activity/BrowserActivity.java | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java b/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java index d50ec6b..2f5283b 100644 --- a/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java +++ b/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java @@ -123,7 +123,7 @@ import acr.browser.lightning.view.SearchView; import butterknife.BindView; import butterknife.ButterKnife; -public abstract class BrowserActivity extends ThemableBrowserActivity implements BrowserView, UIController, OnClickListener, OnLongClickListener { +public abstract class BrowserActivity extends ThemableBrowserActivity implements BrowserView, UIController, OnClickListener { private static final String TAG = BrowserActivity.class.getSimpleName(); @@ -2207,21 +2207,6 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements } } - /** - * Handle long presses on views that use this class - * as their OnLongClickListener. This method should - * distinguish between the IDs of the views that are - * getting clicked. - * - * @param view the view that has been long pressed - * @return returns true since the method handles the long press - * event - */ - @Override - public boolean onLongClick(View view) { - return true; - } - /** * This NetworkReceiver notifies each of the WebViews in the browser whether * the network is currently connected or not. This is important because some