Skip to content

Commit 3a707e0

Browse files
committed
Move picture profile flag from surfaceflinger to libgui
Bug: 337330263 Test: build Flag: com.android.graphics.libgui.flags.apply_picture_profiles Change-Id: I2c1aeba638ed9afc1a7059718d8e20ce86c5db61
1 parent 7d24e7e commit 3a707e0

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

libs/gui/libgui_flags.aconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
package: "com.android.graphics.libgui.flags"
22
container: "system"
33

4+
flag {
5+
name: "apply_picture_profiles"
6+
namespace: "tv_os_media"
7+
description: "This flag controls sending picture profiles from BBQ to Composer HAL"
8+
bug: "337330263"
9+
is_fixed_read_only: true
10+
} # apply_picture_profiles
11+
412
flag {
513
name: "bq_setframerate"
614
namespace: "core_graphics"

services/surfaceflinger/common/FlagManager.cpp

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

118118
/// Trunk stable readonly flags ///
119119
DUMP_READ_ONLY_FLAG(adpf_fmq_sf);
120-
DUMP_READ_ONLY_FLAG(apply_picture_profiles_sf);
121120
DUMP_READ_ONLY_FLAG(connected_display);
122121
DUMP_READ_ONLY_FLAG(enable_small_area_detection);
123122
DUMP_READ_ONLY_FLAG(frame_rate_category_mrr);
@@ -225,7 +224,6 @@ FLAG_MANAGER_LEGACY_SERVER_FLAG(use_skia_tracing, PROPERTY_SKIA_ATRACE_ENABLED,
225224

226225
/// Trunk stable readonly flags ///
227226
FLAG_MANAGER_READ_ONLY_FLAG(adpf_fmq_sf, "")
228-
FLAG_MANAGER_READ_ONLY_FLAG(apply_picture_profiles_sf, "")
229227
FLAG_MANAGER_READ_ONLY_FLAG(connected_display, "")
230228
FLAG_MANAGER_READ_ONLY_FLAG(enable_small_area_detection, "")
231229
FLAG_MANAGER_READ_ONLY_FLAG(frame_rate_category_mrr, "debug.sf.frame_rate_category_mrr")

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class FlagManager {
5555

5656
/// Trunk stable readonly flags ///
5757
bool adpf_fmq_sf() const;
58-
bool apply_picture_profiles_sf() const;
5958
bool connected_display() const;
6059
bool frame_rate_category_mrr() const;
6160
bool enable_small_area_detection() const;

services/surfaceflinger/surfaceflinger_flags_new.aconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ flag {
1818
bug: "284324521"
1919
} # adpf_gpu_sf
2020

21-
flag {
22-
name: "apply_picture_profiles_sf"
23-
namespace: "tv_os_media"
24-
description: "SurfaceFlinger applies picture profile requests and sends them to Composer HAL"
25-
bug: "337330263"
26-
is_fixed_read_only: true
27-
} # apply_picture_profiles_sf
28-
2921
flag {
3022
name: "arr_setframerate_api"
3123
namespace: "core_graphics"

0 commit comments

Comments
 (0)