Fixed source vote + no preference category for MRR
This allows the explicit setFrameRate fixed source votes to pass through
in MRR devices when an explicit frame rate category (No Preference)
is sent.
This allows new View logic to set video frame rate when there
is only one View.
Bug: 352206100
Test: atest libsurfaceflinger_unittest
Flag: com.android.graphics.surfaceflinger.flags.view_set_requested_frame_rate_mrr
Change-Id: I1d19318815f323852eab95b9d7c4b4a6e78518ab
diff --git a/services/surfaceflinger/surfaceflinger_flags_new.aconfig b/services/surfaceflinger/surfaceflinger_flags_new.aconfig
index 919ec17..886167e 100644
--- a/services/surfaceflinger/surfaceflinger_flags_new.aconfig
+++ b/services/surfaceflinger/surfaceflinger_flags_new.aconfig
@@ -126,6 +126,14 @@
} # override_trusted_overlay
flag {
+ name: "view_set_requested_frame_rate_mrr"
+ namespace: "core_graphics"
+ description: "Enable to use frame rate category NoPreference with fixed frame rate vote on MRR devices"
+ bug: "352206100"
+ is_fixed_read_only: true
+} # view_set_requested_frame_rate_mrr
+
+flag {
name: "vrr_bugfix_24q4"
namespace: "core_graphics"
description: "bug fixes for VRR"