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

Commit c6bc5f54 authored by Rachel Lee's avatar Rachel Lee
Browse files

Add flag arr_setframerate_gte_enum

For GTE enum in public setFrameRate apis.

Bug: 380949716
Flag: com.android.graphics.surfaceflinger.flags.arr_setframerate_gte_enum
Test: presubmit
Change-Id: I59a98876a97b8d42177a5eea8d5916c5871c9825
parent 73e686ec
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 {

    /// Trunk stable readonly flags ///
    DUMP_ACONFIG_FLAG(adpf_fmq_sf);
    DUMP_ACONFIG_FLAG(arr_setframerate_gte_enum);
    DUMP_ACONFIG_FLAG(connected_display);
    DUMP_ACONFIG_FLAG(enable_small_area_detection);
    DUMP_ACONFIG_FLAG(stable_edid_ids);
@@ -218,6 +219,7 @@ FLAG_MANAGER_LEGACY_SERVER_FLAG(use_skia_tracing, PROPERTY_SKIA_ATRACE_ENABLED,

/// Trunk stable readonly flags ///
FLAG_MANAGER_ACONFIG_FLAG(adpf_fmq_sf, "")
FLAG_MANAGER_ACONFIG_FLAG(arr_setframerate_gte_enum, "debug.sf.arr_setframerate_gte_enum")
FLAG_MANAGER_ACONFIG_FLAG(connected_display, "")
FLAG_MANAGER_ACONFIG_FLAG(enable_small_area_detection, "")
FLAG_MANAGER_ACONFIG_FLAG(stable_edid_ids, "debug.sf.stable_edid_ids")
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ public:
    bool graphite_renderengine_preview_rollout() const;

    /// Trunk stable readonly flags ///
    bool arr_setframerate_gte_enum() const;
    bool adpf_fmq_sf() const;
    bool connected_display() const;
    bool frame_rate_category_mrr() const;
+8 −0
Original line number Diff line number Diff line
@@ -33,6 +33,14 @@ flag {
  is_fixed_read_only: true
} # arr_setframerate_api

flag {
  name: "arr_setframerate_gte_enum"
  namespace: "core_graphics"
  description: "Exposes GTE (greater than or equal to) enum for Android 16"
  bug: "380949716"
  is_fixed_read_only: true
} # arr_setframerate_gte_enum

flag {
  name: "arr_surfacecontrol_setframerate_api"
  namespace: "core_graphics"