Skip to content
Commit 5c6026b4 authored by Amy's avatar Amy Committed by shubang
Browse files

Add array and add/remove methods to track connected device info

ag/5258321

Add a local array mDeviceInfos to keep track of the device connected to
the current device. Also add the method to invoke deviceEventListener to
keep TIF updated on the new device info. Callback will be added in
separate CL.

We still need to decide when to add/remove the device info.
We can do add at PhysicalAddress report, OsdName report, deviceDiscovery
at bootup, power status report and Active Source.

Test: local tested
Bug: 117291910
Change-Id: I124dc27bf9da9412850e658e1e6413cf9d71e5ce
parent f9fa6175
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