diff options
| author | 2022-03-04 09:18:36 +0000 | |
|---|---|---|
| committer | 2022-03-18 11:51:27 +0100 | |
| commit | 84705ae31fa6aa0e849430222347a7c8d57baa54 (patch) | |
| tree | b4e149b3614584593930d97134b947fe908e8ab4 /libs/androidfw/StringPool.cpp | |
| parent | 7884c848dfec4d45cefde8da5beb4e02c5b294a7 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions