summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-11-05 17:46:38 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-11-05 17:46:38 +0000
commitd209221a38e6ffa9e026f7f27731ec7c9e24ddf9 (patch)
tree9a184684bf6a0e17a6b2943e3d616f0d30e5d69c /services/surfaceflinger/Layer.cpp
parente10d2a3a23c09be843f07989fbbb4accfe8128c5 (diff)
parent82de19bc5532d68df8f497062882d8d594a4f8f2 (diff)
Merge "Remove dead code around use_frame_rate_api"
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 42aeca7ae0..a27c487822 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -1166,9 +1166,6 @@ void Layer::updateTreeHasFrameRateVote() {
}
bool Layer::setFrameRate(FrameRate frameRate) {
- if (!mFlinger->useFrameRateApi) {
- return false;
- }
if (mDrawingState.frameRate == frameRate) {
return false;
}