mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Use PointerTrackerQueue.size instead of MotionEvent.getPointerCount
Change-Id: I089e905def0b70bd38fd54ab2d84689b904bb320
This commit is contained in:
parent
694ccb5ba1
commit
b28139f51b
@ -819,8 +819,9 @@ public class PointerTracker implements PointerTrackerQueue.Element {
|
||||
// touch panels when there are close multiple touches.
|
||||
// Caveat: When in chording input mode with a modifier key, we don't use
|
||||
// this hack.
|
||||
if (me != null && me.getPointerCount() > 1
|
||||
&& !sPointerTrackerQueue.hasModifierKeyOlderThan(this)) {
|
||||
final PointerTrackerQueue queue = sPointerTrackerQueue;
|
||||
if (queue != null && queue.size() > 1
|
||||
&& !queue.hasModifierKeyOlderThan(this)) {
|
||||
onUpEventInternal();
|
||||
}
|
||||
if (!mIsPossibleGesture) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user