summaryrefslogtreecommitdiffstats
path: root/sdm/libs/hwc/hwc_display_external.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdm/libs/hwc/hwc_display_external.cpp')
-rw-r--r--sdm/libs/hwc/hwc_display_external.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/hwc/hwc_display_external.cpp b/sdm/libs/hwc/hwc_display_external.cpp
index 367273851..ad46783a8 100644
--- a/sdm/libs/hwc/hwc_display_external.cpp
+++ b/sdm/libs/hwc/hwc_display_external.cpp
@@ -290,7 +290,7 @@ uint32_t HWCDisplayExternal::GetOptimalRefreshRate(bool one_updating_layer) {
return metadata_refresh_rate_;
}
- return (framebuffer_config_->fps * 1000);
+ return current_refresh_rate_;
}
int HWCDisplayExternal::Perform(uint32_t operation, ...) {