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

Skip to content
Commit 6eb36606 authored by Paul Colta's avatar Paul Colta
Browse files

HDMICEC: Initialize HdmiControlService with local devices in unit tests

Initialize HdmiControlService with local devices in unit tests and
remove uncessary allocateLogicalAddress calls.

The device types list is set in HdmiControlService's constructor. With the help of this list, corresponding local devices are allocated whenever initializeCec is called (f.e. HdmiControlService#initService)  such that extra calls of allocateLogicalAddress can be avoided.

Bug: 183081487
Test: atest com.android.server.hdmi
Change-Id: I750a6d937cab552b6ed6f98dfa2201fa86ba5aa4
parent 9d569c3d
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