Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b34fd1ff authored by Andy Stadler's avatar Andy Stadler
Browse files

Allow touch events when clickable *or* longClickable

This matches more closely the behavior or View.onTouchEvent()

Bug: 3036477
Change-Id: I8a9135da7f9aeeb1e0537dce15295049013a0243
parent 4e9751f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5016,7 +5016,7 @@ public class WebView extends AbsoluteLayout

    @Override
    public boolean onTouchEvent(MotionEvent ev) {
        if (mNativeClass == 0 || !isClickable() || !isLongClickable()) {
        if (mNativeClass == 0 || (!isClickable() && !isLongClickable())) {
            return false;
        }