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

Commit 77df0f49 authored by Mark Yacoub's avatar Mark Yacoub
Browse files

Get the latest hotplugs

[Why]
With VKMS, we want to test if the hwc indeed receives an hdd from the
kernel and send a hotplug event to its client when the connector status
changes.

[How]
Create a list of hotplugs that gets updated on every hotplug event
callback from the hwc. Save with its ID and connection status.
Once it's read, clear it, so the client is able to always check for the
latest since it was last read, or clear to listen to the newest one.

Bug: b/398831713, b/352790467
Test: atest hotplugs_test
Flag: TEST_ONLY
Change-Id: If90359848816e9c974858952ca117987ef1b763c
parent f33aa725
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