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

Skip to content
Commit 3f2de747 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Fix leakage of input window handle on removed display

While the display is alive, the handles are set from SurfaceControl
indirectly. But when removing display, there is no path to inform
InputDispatcher to clean up the handles.

The change uses the legacy method to set empty handles directly for
the removed display.

Bug: 126141550
Test: manual - Create virtual display with system decoration support.
      Close the display and check "dumpsys input" that there should
      not have records in the removed display.

Change-Id: I9087f41ff3acb8990cfb71fed43450230ebe0cc6
parent ddc0fa51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment