Browse Source

Removing unnecessary long click listener

master
anthony restaino 8 years ago
parent
commit
e8b8ddaa02
  1. 17
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

17
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -123,7 +123,7 @@ import acr.browser.lightning.view.SearchView; @@ -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 @@ -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

Loading…
Cancel
Save