Refactor HdmiDeviceInfo construction to use a builder
The builder makes it easier to copy a HdmiDeviceInfo with a few parameters changed. All HdmiDeviceInfo constructors are replaced by static factory methods: - The factory methods for MHL devices and hardware port devices retain their original parameters and use the builder internally. - The factory method for CEC devices returns a builder; most parameters are optional and are set individually. Change-Id: I488cc76570eaa5433ae1d723dc19d65600d20319 Bug: 204854539 Test: atest com.android.server.hdmi
Loading
Please register or sign in to comment