Rename small dirty detection flag
To align the same feature name declared in display and correct the
infra error for previous flag that used wrong enable flag.
Bug: 283055450
Test: presubmit
Change-Id: I5f495d3fb2614ecd22978d820abe19c88e2cb90b
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index b13c0e8..e6d6866 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -4031,7 +4031,7 @@
if (sysprop::use_content_detection_for_refresh_rate(false)) {
features |= Feature::kContentDetection;
- if (flags::vrr_small_dirty_detection()) {
+ if (flags::enable_small_area_detection()) {
features |= Feature::kSmallDirtyContentDetection;
}
}