Merge "Recycle motion event after cancel delegate from assistant input consumer" into ub-launcher3-master
This commit is contained in:
commit
7b43eba730
|
@ -160,6 +160,7 @@ public class AssistantTouchConsumer implements InputConsumer {
|
|||
MotionEvent event = MotionEvent.obtain(ev);
|
||||
event.setAction(MotionEvent.ACTION_CANCEL);
|
||||
mConsumerDelegate.onMotionEvent(event);
|
||||
event.recycle();
|
||||
}
|
||||
} else {
|
||||
mState = STATE_DELEGATE_ACTIVE;
|
||||
|
|
Loading…
Reference in New Issue