summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.cpp
diff options
context:
space:
mode:
authorRam Indani <ramindani@google.com>2023-02-13 23:00:02 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-02-13 23:00:02 +0000
commit40bddd886e72747f41e312ff70540aeba265d85c (patch)
tree30fcb2502228aec9d103b4b354ef86837173dd3d /hwc3/ComposerClient.cpp
parenta8a661a33bdfedc5d45b8ebeaa07b24c4cdb8106 (diff)
parent050b97b1df1c15664a505aa5d512db95f155aa6b (diff)
Merge "[HWC3] native implementation for setRefreshRateChangedCallbackDebugEnabled Add onRefreshRateChangedDebug"
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r--hwc3/ComposerClient.cpp11
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) {