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

Commit 4c575a10 authored by Gil Dekel's avatar Gil Dekel
Browse files

Flag: Add a trunk-stable flag to guard EDID-based Display IDs

Add a trunk-stable flag to guard the use of EDID-based display IDs.

See: go/edid-display-ids-al13

Flag: com.android.graphics.surfaceflinger.flags.stable_edid_ids
Bug: 352320847
Test: None.
Change-Id: Ifc59d031faeb19aedf5eccc68a1c9a5d0f538122
parent a60def99
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_READ_ONLY_FLAG(adpf_fmq_sf);
    DUMP_READ_ONLY_FLAG(connected_display);
    DUMP_READ_ONLY_FLAG(enable_small_area_detection);
    DUMP_READ_ONLY_FLAG(stable_edid_ids);
    DUMP_READ_ONLY_FLAG(frame_rate_category_mrr);
    DUMP_READ_ONLY_FLAG(misc1);
    DUMP_READ_ONLY_FLAG(vrr_config);
@@ -228,6 +229,7 @@ FLAG_MANAGER_LEGACY_SERVER_FLAG(use_skia_tracing, PROPERTY_SKIA_ATRACE_ENABLED,
FLAG_MANAGER_READ_ONLY_FLAG(adpf_fmq_sf, "")
FLAG_MANAGER_READ_ONLY_FLAG(connected_display, "")
FLAG_MANAGER_READ_ONLY_FLAG(enable_small_area_detection, "")
FLAG_MANAGER_READ_ONLY_FLAG(stable_edid_ids, "debug.sf.stable_edid_ids")
FLAG_MANAGER_READ_ONLY_FLAG(frame_rate_category_mrr, "debug.sf.frame_rate_category_mrr")
FLAG_MANAGER_READ_ONLY_FLAG(misc1, "")
FLAG_MANAGER_READ_ONLY_FLAG(vrr_config, "debug.sf.enable_vrr_config")
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ public:
    bool connected_display() const;
    bool frame_rate_category_mrr() const;
    bool enable_small_area_detection() const;
    bool stable_edid_ids() const;
    bool misc1() const;
    bool vrr_config() const;
    bool hotplug2() const;
+8 −0
Original line number Diff line number Diff line
@@ -206,6 +206,14 @@ flag {
  }
 } # skip_invisible_windows_in_input

flag {
  name: "stable_edid_ids"
  namespace: "core_graphics"
  description: "Guard use of the new stable EDID-based display IDs system."
  bug: "352320847"
  is_fixed_read_only: true
} # stable_edid_ids

flag {
  name: "true_hdr_screenshots"
  namespace: "core_graphics"