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

Skip to content
Commit 678024f0 authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix the window can't receive input still recevied events

In split mode, while primary window enter minimized for another window is
home or enter recent app. The primary window would be set as can't receive
any touch input. But the input info in SurfaceFlinger is still keeping,
that result the InputFlinger can still send the events to the window.

This patch would provide a fake invalid window handle with a null token,
so SurfaceFlinger would not update any input info to InputFlinger if
the window can't receive any input.

Test: Split mode, swipe to show the recent app or back to launcher on secondary
      window, test touch on secondary window.
Bug: 122272676
Change-Id: I7212e3cf1a685313b6cdec25237cc714d93309e7
parent 61532924
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