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

Commit d70d6bc6 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by Android (Google) Code Review
Browse files

Merge "Remove ADISPLAY_ID_ definitions" into main

parents 49bf32d3 134c04db
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -43,13 +43,6 @@ struct LogicalDisplayId : ftl::Constructible<LogicalDisplayId, int32_t>,
constexpr inline LogicalDisplayId LogicalDisplayId::INVALID{-1};
constexpr inline LogicalDisplayId LogicalDisplayId::DEFAULT{0};

/**
 * Deprecated! Use LogicalDisplayId::INVALID / LogicalDisplayId::DEFAULT instead.
 * TODO(b/339106983): remove these.
 */
[[deprecated]] constexpr LogicalDisplayId ADISPLAY_ID_NONE{-1};
[[deprecated]] constexpr LogicalDisplayId ADISPLAY_ID_DEFAULT{0};

inline std::ostream& operator<<(std::ostream& stream, LogicalDisplayId displayId) {
    return stream << displayId.val();
}