Touch input lag and stall

Monkey Targets Forums/Android/Touch input lag and stall

nullterm(Posted 2015) [#1]
Been working on a GBJam game, and tested it on the Android 10 target. It's having a problem I've experience a few times before and I have suspicion but wondering if others had this, and ideally a solution.

Basically, after a random amount of time the game, touches will get stuck on screen for a few seconds (after I remove my finger and stop touching). Also they won't follow.

Eventually, it gets so bad that the game basically locks up and doesn't respond to touch events, even though it's still running/animating. I think somehow the main/ui android thread is getting backlogged with other events and the touch events get stuck in limbo until the other events are delt with.

I had a similar problem on a Android app I worked on before, but that was years ago and any knowledge of how to deal with it leaked out of my head a long time ago.

Ideas? Suggestions? Solutions?

Monkey84e, Android API 10 target, Samsung Galaxy Tab4. I've tried changing the target to upgrade to Android SDK 19, and still persists.

No problems at all on Win, Mac, iOS.