mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 871522 - Remove unnecessary long press listener from toolbar (r=sriram)
This commit is contained in:
parent
ac80aadf07
commit
15ea4b710d
@ -474,22 +474,6 @@ public class BrowserToolbar extends GeckoRelativeLayout
|
||||
}
|
||||
});
|
||||
|
||||
mUrlEditText.setOnLongClickListener(new View.OnLongClickListener() {
|
||||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
CustomEditText text = (CustomEditText) v;
|
||||
|
||||
if (text.getSelectionStart() == text.getSelectionEnd())
|
||||
return false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
mTabs.setOnClickListener(new Button.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
Loading…
Reference in New Issue
Block a user