diff options
| author | 2021-12-15 10:01:44 +0100 | |
|---|---|---|
| committer | 2022-01-14 18:36:06 +0100 | |
| commit | 8bd2ec2f22901554578f7f73a579bd9b802cc758 (patch) | |
| tree | 7ba2f1c8b3eaaa5bc26a9ae13936ad5a27faefd8 /libs/androidfw/StringPool.cpp | |
| parent | aec1bdf2ac0d131ce4c4e3955aba0df52f0bf310 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions