Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c5ca85c5 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Add check for action in consumeEvent

We would like to check that the action received by input tests is
correct. Therefore, we should pass the action to the consumeEvent
method. But that would make the existing usage of this method
cumbersome (too many arguments).

Add convenience methods consumeKeyDown and consumeMotionDown to simplify
the existing usage.

Bug: none
Test: atest inputflinger_tests
Change-Id: Ie33d952a9025063b4901e32a3d92e1a19c330b72
parent 8935a802
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment