Removing unnecessary long click listener

This commit is contained in:
anthony restaino 2017-04-30 21:12:49 -04:00
parent 0fcf7451cb
commit e8b8ddaa02

View File

@ -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