summaryrefslogtreecommitdiff
path: root/include/input
diff options
context:
space:
mode:
author Arpit Singh <arpitks@google.com> 2025-03-11 03:21:34 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-11 03:21:34 -0700
commit269580ec3dcd89ed86b4bacfb7871cc2bcb0afbb (patch)
tree8ecd0c398fd120eda3ab37e703beaf8bb4f9477b /include/input
parent0864e4f913faa5464f61cc5e870a3d69fa70557a (diff)
parentd6d7df73241ba78a1e41a7ad1c358164e2358867 (diff)
Merge "[CD Cursor] Add DisplayTopologyValidator" into main
Diffstat (limited to 'include/input')
-rw-r--r--include/input/DisplayTopologyGraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input/DisplayTopologyGraph.h b/include/input/DisplayTopologyGraph.h
index 3ae865a33a..ce7259e09a 100644
--- a/include/input/DisplayTopologyGraph.h
+++ b/include/input/DisplayTopologyGraph.h
@@ -55,6 +55,8 @@ struct DisplayTopologyGraph {
ui::LogicalDisplayId primaryDisplayId = ui::LogicalDisplayId::INVALID;
std::unordered_map<ui::LogicalDisplayId, std::vector<DisplayTopologyAdjacentDisplay>> graph;
std::unordered_map<ui::LogicalDisplayId, int> displaysDensity;
+
+ bool isValid() const;
};
} // namespace android