commit | b2158ee427c34e4b374dc4d8e4f2eb9f65c15ae2 | [log] [tgz] |
---|---|---|
author | ramindani <ramindani@google.com> | Mon Feb 13 20:29:59 2023 -0800 |
committer | ramindani <ramindani@google.com> | Fri Mar 03 03:53:10 2023 +0000 |
tree | f4e4c6f0db109b89cea00c42d7817ac63d87712b | |
parent | ff8db1b9b85fa0e125a017e040b2e20e7b5049cf [diff] [blame] |
[SF] Set RefreshRateOverlay enable status to HWC Update the RefreshRateOverlay with the refresh rate received from the HWC callback. Test: Device boots, existing overlay works with SF manual test with the patch of the HWC Ibc80d66eae6b21c3cf84d35fa819e97ccc509ede BUG: 202734676 Change-Id: I94bda4d054d878b173eb594d5c71e2f83459a20a
diff --git a/services/surfaceflinger/DisplayHardware/HidlComposerHal.cpp b/services/surfaceflinger/DisplayHardware/HidlComposerHal.cpp index 9bc62b6..23de4fa 100644 --- a/services/surfaceflinger/DisplayHardware/HidlComposerHal.cpp +++ b/services/surfaceflinger/DisplayHardware/HidlComposerHal.cpp
@@ -1358,6 +1358,10 @@ return Error::UNSUPPORTED; } +Error HidlComposer::setRefreshRateChangedCallbackDebugEnabled(Display, bool) { + return Error::UNSUPPORTED; +} + Error HidlComposer::getClientTargetProperty( Display display, ClientTargetPropertyWithBrightness* outClientTargetProperty) { IComposerClient::ClientTargetProperty property;