Skip to content
Commit 2588ab0f authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Dispose per-display input channel explicilty when removing display

Also simplify the initialization and cleanup of PointerEventDispatcher
because the null condition should never happen.

Bug: 126141550
Test: atest DisplayContentTests
Test: manual - Create virtual display and remove it many times. Observe
      no "Input channel object ... was finalized without being disposed!"
      in device log. And "dumpsys input" don't show MonitoringChannels
      in the removed display.

Change-Id: Id768a1a77169a91fd0762e166f49e15f37668000
parent 1cc1db0a
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