Fix "Allow/Deny" popup window no respond when enable pointer location
Currently, all buffered layers are included in input occlusion
calculations, the overlay window which can't receive input event
should also need to explicitly opt out by setting window type.
- For overlap window, reuse the invalid input window handle and fill the
necessary fileds, it could also fill some fileds in SurfaceFlinger
because the token is null.
Bug: 160590776
Bug: 158717144
Test: enable pointer location, launch app which would popup grant
permission dialog
Test: atest WindowInputTests
Test: test suite on Cuttlefish API 30
Change-Id: I9d618a0a7d7cef7f8f90200b22138c78ae6d6cc8
1 file changed