From 050b97b1df1c15664a505aa5d512db95f155aa6b Mon Sep 17 00:00:00 2001 From: ramindani Date: Fri, 3 Feb 2023 13:23:28 -0800 Subject: [HWC3] native implementation for setRefreshRateChangedCallbackDebugEnabled Add onRefreshRateChangedDebug Test: Device boots BUG: 202734676 Change-Id: I079e13fcf2bd0872c8f29468fc2ef311b9774d10 --- hwc3/impl/HalImpl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hwc3/impl/HalImpl.cpp') diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp index acae3d2..92e120a 100644 --- a/hwc3/impl/HalImpl.cpp +++ b/hwc3/impl/HalImpl.cpp @@ -1064,4 +1064,10 @@ int32_t HalImpl::getDisplayMultiThreadedPresentSupport(const int64_t& display, b return halDisplay->getDisplayMultiThreadedPresentSupport(outSupport); } +int32_t HalImpl::setRefreshRateChangedCallbackDebugEnabled(int64_t /* display*/, + bool /* enabled */) { + // TODO(b/267825022) Add implementation for the HAL + return EX_UNSUPPORTED_OPERATION; +} + } // namespace aidl::android::hardware::graphics::composer3::impl -- cgit v1.2.3