native: Rename frame rate selection strategies
SELF -> PROPAGATE (default)
DO_NOT_PROPAGATE -> SELF
No behavioral changes.
Test: atest libsurfaceflinger_unittest
Bug: 309687765
Change-Id: I055d827a45ecc7f566375425c42e745a41b751f9
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index 790dfb5..c772e0e 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -1179,8 +1179,7 @@
}
bool shouldPropagateFrameRate() const {
- return getDrawingState().frameRateSelectionStrategy !=
- FrameRateSelectionStrategy::DoNotPropagate;
+ return getDrawingState().frameRateSelectionStrategy != FrameRateSelectionStrategy::Self;
}
// Cached properties computed from drawing state