File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,29 @@ struct DetailedTimingDescriptor {
3939 ui::Size physicalSizeInMm;
4040};
4141
42+ // These values must match the ones in ScreenPartStatus.aidl file in the composer HAL
43+ enum class ScreenPartStatus : uint8_t {
44+ /* *
45+ * Device cannot differentiate an original screen from a replaced screen.
46+ */
47+ UNSUPPORTED = 0 ,
48+ /* *
49+ * Device has the original screen it was manufactured with.
50+ */
51+ ORIGINAL = 1 ,
52+ /* *
53+ * Device has a replaced screen.
54+ */
55+ REPLACED = 2 ,
56+ };
57+
4258struct DisplayIdentificationInfo {
4359 PhysicalDisplayId id;
4460 std::string name;
4561 uint8_t port;
4662 std::optional<DeviceProductInfo> deviceProductInfo;
4763 std::optional<DetailedTimingDescriptor> preferredDetailedTimingDescriptor;
64+ ScreenPartStatus screenPartStatus;
4865};
4966
5067struct ExtensionBlock {
You can’t perform that action at this time.
0 commit comments