summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/FlagManager.cpp
diff options
context:
space:
mode:
author Brian Johnson <hibrian@google.com> 2023-10-30 15:47:44 -0700
committer Brian Johnson <hibrian@google.com> 2023-10-30 15:47:49 -0700
commit8c14400bcc68a86225a2bc40127e772f9df3a352 (patch)
tree1a8c746853c1adad63a14d26b5c21f5b4e6a7f56 /services/surfaceflinger/FlagManager.cpp
parent5d7faea17026e2528404768c28492def3a7c4966 (diff)
SF: Add a readonly flag for the hotplug2 hal api feature
Bug: 303460805 Test: adb shell dumpsys SurfaceFlinger | grep hotplug2 -- verify the flag shows up. Change-Id: I9abdbec32e8517d82234c2a52d4586d4e6ed12b8
Diffstat (limited to 'services/surfaceflinger/FlagManager.cpp')
-rw-r--r--services/surfaceflinger/FlagManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/FlagManager.cpp b/services/surfaceflinger/FlagManager.cpp
index a8f05bbd56..5bbdfe91e6 100644
--- a/services/surfaceflinger/FlagManager.cpp
+++ b/services/surfaceflinger/FlagManager.cpp
@@ -102,6 +102,7 @@ void FlagManager::dump(std::string& result) const {
DUMP_FLAG(misc1);
DUMP_FLAG(late_boot_misc2);
DUMP_FLAG(vrr_config);
+ DUMP_FLAG(hotplug2);
#undef DUMP_FLAG
}
@@ -165,6 +166,7 @@ FLAG_MANAGER_READ_ONLY_FLAG(connected_display, "")
FLAG_MANAGER_READ_ONLY_FLAG(enable_small_area_detection, "")
FLAG_MANAGER_READ_ONLY_FLAG(misc1, "")
FLAG_MANAGER_READ_ONLY_FLAG(vrr_config, "debug.sf.enable_vrr_config")
+FLAG_MANAGER_READ_ONLY_FLAG(hotplug2, "")
/// Trunk stable server flags ///
FLAG_MANAGER_SERVER_FLAG(late_boot_misc2, "")