forked from organicmaps/organicmaps
[android] fix crash or hang on massive touch events before application fully started
This commit is contained in:
parent
6f89a75303
commit
97ae44f9bf
1 changed files with 2 additions and 0 deletions
|
@ -722,6 +722,8 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
@Override
|
||||
public boolean onTouch(View v, MotionEvent event)
|
||||
{
|
||||
if (mRenderingInitialized == false)
|
||||
return false;
|
||||
return MWMActivity.this.onTouchEvent(event);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue