Skip to content

Commit c6bc5f5

Browse files
author
Rachel Lee
committed
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
1 parent 73e686e commit c6bc5f5

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

services/surfaceflinger/common/FlagManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ void FlagManager::dump(std::string& result) const {
119119

120120
/// Trunk stable readonly flags ///
121121
DUMP_ACONFIG_FLAG(adpf_fmq_sf);
122+
DUMP_ACONFIG_FLAG(arr_setframerate_gte_enum);
122123
DUMP_ACONFIG_FLAG(connected_display);
123124
DUMP_ACONFIG_FLAG(enable_small_area_detection);
124125
DUMP_ACONFIG_FLAG(stable_edid_ids);
@@ -218,6 +219,7 @@ FLAG_MANAGER_LEGACY_SERVER_FLAG(use_skia_tracing, PROPERTY_SKIA_ATRACE_ENABLED,
218219

219220
/// Trunk stable readonly flags ///
220221
FLAG_MANAGER_ACONFIG_FLAG(adpf_fmq_sf, "")
222+
FLAG_MANAGER_ACONFIG_FLAG(arr_setframerate_gte_enum, "debug.sf.arr_setframerate_gte_enum")
221223
FLAG_MANAGER_ACONFIG_FLAG(connected_display, "")
222224
FLAG_MANAGER_ACONFIG_FLAG(enable_small_area_detection, "")
223225
FLAG_MANAGER_ACONFIG_FLAG(stable_edid_ids, "debug.sf.stable_edid_ids")

services/surfaceflinger/common/include/common/FlagManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class FlagManager {
5656
bool graphite_renderengine_preview_rollout() const;
5757

5858
/// Trunk stable readonly flags ///
59+
bool arr_setframerate_gte_enum() const;
5960
bool adpf_fmq_sf() const;
6061
bool connected_display() const;
6162
bool frame_rate_category_mrr() const;

services/surfaceflinger/surfaceflinger_flags_new.aconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ flag {
3333
is_fixed_read_only: true
3434
} # arr_setframerate_api
3535

36+
flag {
37+
name: "arr_setframerate_gte_enum"
38+
namespace: "core_graphics"
39+
description: "Exposes GTE (greater than or equal to) enum for Android 16"
40+
bug: "380949716"
41+
is_fixed_read_only: true
42+
} # arr_setframerate_gte_enum
43+
3644
flag {
3745
name: "arr_surfacecontrol_setframerate_api"
3846
namespace: "core_graphics"

0 commit comments

Comments
 (0)