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

Skip to content
Commit dcef2dcd authored by arthurhung's avatar arthurhung
Browse files

Integrate FakeInputReaderContext to the real implement

We use FakeInputReaderContext to mock InputReaderContext and watch if
the interface has been called when we test InputMapperTest and
InputDeviceTest, but it may lost some logic from the real implementation
in InputReader.

This patch will move FakeInputReaderContext into
InstrumentedInputReader and use it when create new device to prevent
getting unexpected results after we modified InputReader.

Bug: 141329037
Test: atest inputflinger_tests
Change-Id: I744908156912116ae85d132873ef8da258e69731
parent 535517d9
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