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

Commit 8c14400b authored by Brian Johnson's avatar Brian Johnson
Browse files

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
parent 5d7faea1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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, "")
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ public:
    bool enable_small_area_detection() const;
    bool misc1() const;
    bool vrr_config() const;
    bool hotplug2() const;

    /// Trunk stable server flags ///
    bool late_boot_misc2() const;
+9 −1
Original line number Diff line number Diff line
@@ -53,3 +53,11 @@ flag {
  bug: "283055450"
  is_fixed_read_only: true
}

flag {
  name: "hotplug2"
  namespace: "core_graphics"
  description: "Feature flag for using hotplug2 HAL API"
  bug: "303460805"
  is_fixed_read_only: true
}