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;
|
break;
|
||||||
}
|
}
|
||||||
case SWITCH_TO_LONGPRESS: {
|
case SWITCH_TO_LONGPRESS: {
|
||||||
|
if (!mPreventDrag) {
|
||||||
mTouchMode = TOUCH_DONE_MODE;
|
mTouchMode = TOUCH_DONE_MODE;
|
||||||
performLongClick();
|
performLongClick();
|
||||||
updateTextEntry();
|
updateTextEntry();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SWITCH_TO_ENTER:
|
case SWITCH_TO_ENTER:
|
||||||
|
Reference in New Issue
Block a user