Merge change 5390 into donut
* changes: When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
This commit is contained in:
@ -4571,9 +4571,11 @@ public class WebView extends AbsoluteLayout
|
||||
break;
|
||||
}
|
||||
case SWITCH_TO_LONGPRESS: {
|
||||
mTouchMode = TOUCH_DONE_MODE;
|
||||
performLongClick();
|
||||
updateTextEntry();
|
||||
if (!mPreventDrag) {
|
||||
mTouchMode = TOUCH_DONE_MODE;
|
||||
performLongClick();
|
||||
updateTextEntry();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SWITCH_TO_ENTER:
|
||||
|
Reference in New Issue
Block a user