diff options
author | Midas Chien <midaschieh@google.com> | 2022-02-16 10:44:21 +0000 |
---|---|---|
committer | Midas Chien <midaschieh@google.com> | 2022-02-17 13:29:23 +0800 |
commit | 1fbbdedc5425e4dfc06d39ee881ebda6aacd9b74 (patch) | |
tree | 6c86cc81954e4c13eb22a78e457f820d2f00c2a7 /hwc3/impl/HalImpl.h | |
parent | 0ec8e120c9b88fb7dc7f590e23914dd8267a5941 (diff) | |
download | common-1fbbdedc5425e4dfc06d39ee881ebda6aacd9b74.tar.gz |
Revert "Revert "libhwc2.1: support setIdleTimerEnabled""
This reverts commit 13c602ef2fa6ec36e9ec02633ec7727fd4427d3c.
Reason for revert: avc denied is addressed in another patch
Bug: 219857957
Bug: 198808492
Test: composer access panel_idle withou avc denied
Change-Id: If1753cde988d8e2c755168bbc174da9faf138b91
Diffstat (limited to 'hwc3/impl/HalImpl.h')
-rw-r--r-- | hwc3/impl/HalImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.h b/hwc3/impl/HalImpl.h index 2c6d540..d60d7d0 100644 --- a/hwc3/impl/HalImpl.h +++ b/hwc3/impl/HalImpl.h @@ -135,6 +135,7 @@ class HalImpl : public IComposerHal { int32_t setReadbackBuffer(int64_t display, buffer_handle_t buffer, const ndk::ScopedFileDescriptor& releaseFence) override; int32_t setVsyncEnabled(int64_t display, bool enabled) override; + int32_t getDisplayIdleTimerSupport(int64_t display, bool& outSupport) override; int32_t setIdleTimerEnabled(int64_t display, int32_t timeout) override; int32_t getRCDLayerSupport(int64_t display, bool& outSupport) override; int32_t validateDisplay(int64_t display, std::vector<int64_t>* outChangedLayers, |