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

Commit 4f095462 authored by Brian Johnson's avatar Brian Johnson
Browse files

SF: Add a RO flag for a new hal api for reporting hdcp level

Bug:285359126
Test: adb shell dumpsys SurfaceFlinger | grep hdcp -- verify flag shows
up default false.

Change-Id: Ibb82906313bd2b851d1681556d945ace373278f3
parent fd00e134
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -103,6 +103,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_FLAG(late_boot_misc2);
    DUMP_FLAG(late_boot_misc2);
    DUMP_FLAG(vrr_config);
    DUMP_FLAG(vrr_config);
    DUMP_FLAG(hotplug2);
    DUMP_FLAG(hotplug2);
    DUMP_FLAG(hdcp_level_hal);


#undef DUMP_FLAG
#undef DUMP_FLAG
}
}
@@ -167,6 +168,7 @@ FLAG_MANAGER_READ_ONLY_FLAG(enable_small_area_detection, "")
FLAG_MANAGER_READ_ONLY_FLAG(misc1, "")
FLAG_MANAGER_READ_ONLY_FLAG(misc1, "")
FLAG_MANAGER_READ_ONLY_FLAG(vrr_config, "debug.sf.enable_vrr_config")
FLAG_MANAGER_READ_ONLY_FLAG(vrr_config, "debug.sf.enable_vrr_config")
FLAG_MANAGER_READ_ONLY_FLAG(hotplug2, "")
FLAG_MANAGER_READ_ONLY_FLAG(hotplug2, "")
FLAG_MANAGER_READ_ONLY_FLAG(hdcp_level_hal, "")


/// Trunk stable server flags ///
/// Trunk stable server flags ///
FLAG_MANAGER_SERVER_FLAG(late_boot_misc2, "")
FLAG_MANAGER_SERVER_FLAG(late_boot_misc2, "")
+1 −0
Original line number Original line Diff line number Diff line
@@ -52,6 +52,7 @@ public:
    bool misc1() const;
    bool misc1() const;
    bool vrr_config() const;
    bool vrr_config() const;
    bool hotplug2() const;
    bool hotplug2() const;
    bool hdcp_level_hal() const;


    /// Trunk stable server flags ///
    /// Trunk stable server flags ///
    bool late_boot_misc2() const;
    bool late_boot_misc2() const;
+9 −0
Original line number Original line Diff line number Diff line
@@ -61,3 +61,12 @@ flag {
  bug: "303460805"
  bug: "303460805"
  is_fixed_read_only: true
  is_fixed_read_only: true
}
}

flag {
  name: "hdcp_level_hal"
  namespace: "core_graphics"
  description: "Feature flag for adding a HAL API to commuicate hdcp levels"
  bug: "285359126"
  is_fixed_read_only: true
}