diff options
author | ramindani <ramindani@google.com> | 2023-02-03 13:23:28 -0800 |
---|---|---|
committer | ramindani <ramindani@google.com> | 2023-02-13 08:55:07 -0800 |
commit | 050b97b1df1c15664a505aa5d512db95f155aa6b (patch) | |
tree | c7d2a7c902ee02c2f49591db000bce5723fb9690 /hwc3/ComposerClient.cpp | |
parent | 73f6f20fc1493070c1a1271216cf42af85a828ec (diff) |
[HWC3] native implementation for
setRefreshRateChangedCallbackDebugEnabled
Add onRefreshRateChangedDebug
Test: Device boots
BUG: 202734676
Change-Id: I079e13fcf2bd0872c8f29468fc2ef311b9774d10
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r-- | hwc3/ComposerClient.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp index 80231ef..ff65c04 100644 --- a/hwc3/ComposerClient.cpp +++ b/hwc3/ComposerClient.cpp @@ -432,6 +432,17 @@ ndk::ScopedAStatus ComposerClient::setIdleTimerEnabled(int64_t display, int32_t return TO_BINDER_STATUS(err); } +ndk::ScopedAStatus ComposerClient::setRefreshRateChangedCallbackDebugEnabled(int64_t /* display */, + bool /* enabled */) { + // TODO(b/267825022) Add implementation for the HAL and pass appropriate binder status + return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); +} + +void ComposerClient::HalEventCallback::onRefreshRateChangedDebug( + const RefreshRateChangedDebugData&) { + // TODO(b/267825022) Add implementation for the HAL +} + void ComposerClient::HalEventCallback::onHotplug(int64_t display, bool connected) { DEBUG_DISPLAY_FUNC(display); if (connected) { |