mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 776253 - NullPointerException at AboutHomeContent.onInterceptTouchEvent [r=kats]
This commit is contained in:
parent
940dc350ef
commit
17046d8afd
@ -357,14 +357,14 @@ public class AboutHomeContent extends ScrollView
|
||||
|
||||
@Override
|
||||
public boolean onInterceptTouchEvent(MotionEvent event) {
|
||||
if (mOnInterceptTouchListener.onInterceptTouchEvent(this, event))
|
||||
if (mOnInterceptTouchListener != null && mOnInterceptTouchListener.onInterceptTouchEvent(this, event))
|
||||
return true;
|
||||
return super.onInterceptTouchEvent(event);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent event) {
|
||||
if (mOnInterceptTouchListener.onTouch(this, event))
|
||||
if (mOnInterceptTouchListener != null && mOnInterceptTouchListener.onTouch(this, event))
|
||||
return true;
|
||||
return super.onTouchEvent(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user