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

Commit 84705ae3 authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Move touch blocking into InputDispatcher

Remove the InputHandle from ActivityRecordInputSink and instead set
NO_INPUT_CHANNEL and let InputDispatcher drop the touches.

When touches are blocked InputDispatcher logs something like:
03-04 11:36:46.974 16299 16431 W InputDispatcher: Not sending touch gesture to f619bcf ActivityRecordInputSink .FocusTouchActivity because it is not responsive
03-04 11:36:47.155 16299 16431 W InputDispatcher: Not sending touch gesture to f619bcf ActivityRecordInputSink .FocusTouchActivity because it is not responsive

Bug: 194480991
Bug: 222292477
Test: Manually tested that blocking still works
Test: atest android.server.wm.WindowUntrustedTouchTest
Test: atest InputSurfacesTest
Change-Id: If7d9503cb573fbd56f6f9e9eb2dee6298ac1f948
parent 7884c848
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