summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.cpp
diff options
context:
space:
mode:
authorShubham Dubey <dubeyshubham@google.com>2022-02-16 04:47:05 +0000
committerShubham Dubey <dubeyshubham@google.com>2022-02-16 04:47:05 +0000
commit13c602ef2fa6ec36e9ec02633ec7727fd4427d3c (patch)
treec4beb98a395704dbb2b039a6528ace1d428b3688 /hwc3/ComposerClient.cpp
parent91700d7c6e6cea728e3d8525745ddbf8a0517c98 (diff)
Revert "libhwc2.1: support setIdleTimerEnabled"
This reverts commit 91700d7c6e6cea728e3d8525745ddbf8a0517c98. Reason for revert: Introduced untracked linux denials BUG: 219857957 Change-Id: I924352333ff3c36e971c11a8f48831ab5cac75b3
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r--hwc3/ComposerClient.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index 49d0e80..848d1f7 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -162,16 +162,6 @@ ndk::ScopedAStatus ComposerClient::getDisplayCapabilities(int64_t display,
return TO_BINDER_STATUS(err);
}
- bool support = false;
- err = mHal->getDisplayIdleTimerSupport(display, support);
- if (err != ::android::OK) {
- LOG(ERROR) << "failed to getDisplayIdleTimerSupport: " << err;
- }
-
- if (support) {
- caps->push_back(DisplayCapability::DISPLAY_IDLE_TIMER);
- }
-
return TO_BINDER_STATUS(err);
}