mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-04 21:27:41 +08:00
remove virtual keyqord from View::onFilterTouchEventForSecurity
This commit is contained in:
parent
316f8996f3
commit
2886c7d72c
@ -6065,7 +6065,7 @@ int View::commitText(const std::wstring&ws){
|
||||
}
|
||||
|
||||
bool View::canReceivePointerEvents()const{
|
||||
return (mViewFlags & VISIBILITY_MASK) == VISIBLE || getAnimation() != nullptr;
|
||||
return ((mViewFlags & VISIBILITY_MASK) == VISIBLE) || (getAnimation() != nullptr);
|
||||
}
|
||||
|
||||
bool View::getFilterTouchesWhenObscured() const{
|
||||
|
@ -613,8 +613,8 @@ protected:
|
||||
bool canReceivePointerEvents()const;
|
||||
bool getFilterTouchesWhenObscured()const;
|
||||
View& setFilterTouchesWhenObscured(bool enabled);
|
||||
bool onFilterTouchEventForSecurity(MotionEvent& event);
|
||||
virtual bool dispatchHoverEvent(MotionEvent&event);
|
||||
virtual bool onFilterTouchEventForSecurity(MotionEvent& event);
|
||||
virtual bool dispatchTrackballEvent(MotionEvent& event);
|
||||
virtual bool dispatchCapturedPointerEvent(MotionEvent& event);
|
||||
virtual bool dispatchGenericPointerEvent(MotionEvent& event);
|
||||
|
Loading…
Reference in New Issue
Block a user